From 6c3d203c68fe97ef4bdacb0edb42ccab13fb862d Mon Sep 17 00:00:00 2001 From: Bernie Innocenti Date: Wed, 20 Dec 2017 16:21:49 -0500 Subject: [PATCH] Don't request a GL context with sRGB enabled. It's not supported by the Intel Linux drivers (not in my configuration, at least). --- main.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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); -- 2.25.1