Skip to content

Commit 114e249

Browse files
committed
Fix egui build
1 parent 875952b commit 114e249

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/agdk-egui/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ resolver = "2"
99
[dependencies]
1010
log = "0.4"
1111
winit = "0.26"
12-
wgpu = "0.12.0"
12+
wgpu = "0.13.0"
1313
pollster = "0.2"
1414
egui = "0.18"
1515
egui-wgpu = { version = "0.18", features = [ "winit" ] }

examples/agdk-egui/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ fn _main(event_loop: EventLoop<Event>) {
122122
&ctx.tessellate(full_output.shapes),
123123
&full_output.textures_delta);
124124

125-
if full_output.needs_repaint {
125+
if full_output.repaint_after.is_zero() {
126126
window.request_redraw();
127127
}
128128
}

0 commit comments

Comments
 (0)