1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-30 05:10:03 -04:00

Allow changing titles

This commit is contained in:
Emil Ernerfeldt
2023-11-06 20:14:24 +01:00
parent 291ab1ee7b
commit 8aa14d2fae
5 changed files with 105 additions and 90 deletions

View File

@@ -1221,7 +1221,7 @@ mod glow_integration {
.is_current(glutin.current_gl_context.as_ref().unwrap())
{
let builder = &&glutin.builders[&window.id_pair.this];
log::error!("egui::create_viewport_sync with title: `{}` is not created in main thread, try to use wgpu!", builder.title);
log::error!("egui::create_viewport_sync with title: `{:?}` is not created in main thread, try to use wgpu!", builder.title.clone().unwrap_or_default());
}
egui_glow::painter::clear(gl, screen_size_in_pixels, [0.0, 0.0, 0.0, 0.0]);