Don't request a GL context with sRGB enabled.
[mandelwow.git] / main.rs
diff --git a/main.rs b/main.rs
index 5fc2ded11b78b2f7dcc95d1a598967e58bd32666..02bb86a0a08cc119d9ae584ba1b56c657bf3b769 100644 (file)
--- 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);