mirror of
https://github.com/rust-mobile/android-activity.git
synced 2026-07-10 08:44:11 +00:00
Fix egui build
This commit is contained in:
@@ -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" ] }
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user