Force GL 3.3, Core, request hardware acceleration.
@@ -19,6 +19,9 @@ pub fn init_raw<S: ToString>(
f64::from(height_pixels),
));
let windowed_context = ContextBuilder::new()
+ .with_gl(glutin::GlRequest::Specific(glutin::Api::OpenGl, (3, 3)))
+ .with_gl_profile(glutin::GlProfile::Core)
+ .with_hardware_acceleration(Some(true))
.with_vsync(true)
.with_srgb(true)
.build_windowed(wb, &el)
