From: Bernie Innocenti Date: Wed, 20 Dec 2017 21:21:49 +0000 (-0500) Subject: Don't request a GL context with sRGB enabled. X-Git-Url: https://codewiz.org/gitweb?p=mandelwow.git;a=commitdiff_plain;h=6c3d203c68fe97ef4bdacb0edb42ccab13fb862d Don't request a GL context with sRGB enabled. It's not supported by the Intel Linux drivers (not in my configuration, at least). --- diff --git a/main.rs b/main.rs index 5fc2ded..02bb86a 100644 --- a/main.rs +++ b/main.rs @@ -73,8 +73,7 @@ fn main() { let context = glutin::ContextBuilder::new() .with_gl_profile(glutin::GlProfile::Core) .with_depth_buffer(24) - .with_vsync(true) - .with_srgb(true); + .with_vsync(true); let display = glium::Display::new(window, context, &events_loop).unwrap(); gl_info(&display);