mirror of
https://github.com/emilk/egui.git
synced 2026-08-30 05:10:03 -04:00
Fix flickering for Context::create_viewport_sync but now will return a Option<T>
This commit is contained in:
@@ -1096,10 +1096,8 @@ mod glow_integration {
|
||||
.and_then(|w| w.read().window.clone())
|
||||
},
|
||||
);
|
||||
return;
|
||||
}
|
||||
}
|
||||
render(&egui_ctx);
|
||||
},
|
||||
);
|
||||
|
||||
@@ -2071,10 +2069,8 @@ mod wgpu_integration {
|
||||
*focused.read(),
|
||||
|id| _windows.read().get(&id).and_then(|w| w.0.clone()),
|
||||
);
|
||||
return;
|
||||
}
|
||||
}
|
||||
render(&egui_ctx);
|
||||
},
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user