1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-28 07:23:13 -04:00

Update to wgpu 0.14 (#2114)

This commit is contained in:
Andreas Reich
2022-10-06 15:50:46 +02:00
committed by GitHub
parent 3ec170cc1e
commit cd74c74f6f
5 changed files with 26 additions and 36 deletions

View File

@@ -115,6 +115,7 @@ impl WebPainter for WebPainterWgpu {
width: canvas_size[0],
height: canvas_size[1],
present_mode: wgpu::PresentMode::Fifo,
alpha_mode: wgpu::CompositeAlphaMode::Auto,
},
);
self.surface_size = canvas_size.clone();