Fix egui build

This commit is contained in:
John Kåre Alsaker
2022-08-09 22:44:50 +02:00
parent 875952b2a9
commit 114e249cbd
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ resolver = "2"
[dependencies]
log = "0.4"
winit = "0.26"
wgpu = "0.12.0"
wgpu = "0.13.0"
pollster = "0.2"
egui = "0.18"
egui-wgpu = { version = "0.18", features = [ "winit" ] }
+1 -1
View File
@@ -122,7 +122,7 @@ fn _main(event_loop: EventLoop<Event>) {
&ctx.tessellate(full_output.shapes),
&full_output.textures_delta);
if full_output.needs_repaint {
if full_output.repaint_after.is_zero() {
window.request_redraw();
}
}