1
0
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:
Konkitoman
2023-07-18 17:52:55 +03:00
parent 8f475ef8d8
commit 28d5c6e62c
3 changed files with 20 additions and 9 deletions

View File

@@ -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(