Closed tl8roy closed 6 years ago
Is the width and height you request a fullscreen resolution supported by your driver?
I has been a while since I checked this, but that certainly seems like it could be the problem.
We were having resolution issues, so I may have spec on higher than the screen can take.
This issue has likely been fixed via tomaka/winit#270.
I am using Conrod with the Glium/Glutin backend.
When I run in Windows, the fullscreen mode works fine. When I try in Linux, I get the following backtrace:
This is the code used to build the window: // Build the window. let monitor = glium::glutin::get_primary_monitor(); let display = glium::glutin::WindowBuilder::new() .with_vsync() .with_dimensions(WIDTH, HEIGHT) .with_fullscreen(monitor) .with_decorations(false) .with_srgb(Some(false)) .with_title("Conrod with glium!") .build_glium() .unwrap();
Removing
.with_dimensions(WIDTH, HEIGHT)
appears to solve the issue.