hakolao / egui_winit_vulkano

Egui gui integration with winit and vulkano
Apache License 2.0
78 stars 36 forks source link

Fixes fullscreen crash on AMD GPUs #44

Closed aedm closed 1 year ago

aedm commented 1 year ago

There's a bug in AMD drivers that causes the examples in this project to crash in fullscreen. Normally, they run fine in windowed mode but as soon as you add this line of code, they crash:

windows.get_primary_window().unwrap().set_fullscreen(Some(winit::window::Fullscreen::Borderless(None)));

See more here: https://github.com/vulkano-rs/vulkano/pull/2218

hakolao commented 1 year ago

Thanks! I’ve had some reports of a crash on amd gpus on my projects, perhaps this helps with those too.