1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-02 14:50:03 -04:00

Clippy wasm

This commit is contained in:
lucasmerlin
2026-03-23 15:51:20 +01:00
parent b1a388e12e
commit 65657941e2

View File

@@ -202,8 +202,8 @@ impl WebPainter for WebPainterWgpu {
.configure(&render_state.device, &self.surface_configuration); .configure(&render_state.device, &self.surface_configuration);
frame frame
} }
ref other => { other => {
match (*self.on_surface_status)(other) { match (*self.on_surface_status)(&other) {
SurfaceErrorAction::RecreateSurface => { SurfaceErrorAction::RecreateSurface => {
self.surface self.surface
.configure(&render_state.device, &self.surface_configuration); .configure(&render_state.device, &self.surface_configuration);