mirror of
https://github.com/emilk/egui.git
synced 2026-08-30 05:10:03 -04:00
Now window will be destroyed if is not rendered
This commit is contained in:
@@ -998,6 +998,8 @@ mod glow_integration {
|
||||
.unwrap(),
|
||||
);
|
||||
|
||||
integration.egui_ctx.set_current_window_id(win.window_id);
|
||||
|
||||
let screen_size_in_pixels: [u32; 2] = window.inner_size().into();
|
||||
|
||||
egui_glow::painter::clear(
|
||||
|
||||
Reference in New Issue
Block a user