Unable to create fullscreen window
FlashOnFire opened this issue · 1 comments
FlashOnFire commented
Panic when creating a simple fullscreen window with default backend
Tested using a simple code in an empty project to isolate :
use piston_window::{PistonWindow, WindowSettings};
fn main() {
let window: PistonWindow = WindowSettings::new("aaa", [1920, 1080])
.fullscreen(true)
.build()
.unwrap();
}
I managed to find where both of the event loops were created :
First : here at the beginning of the creation of the GlutinWindow
And here in the window_builder_from_settings function
The if check explains why it doesn't happen when using non fullscreen window
FlashOnFire commented
Closed and reposted on the glutin window repo