From 3e41da718783616e6ae159f3641ce0c3b7b53d04 Mon Sep 17 00:00:00 2001 From: Emil Ernerfeldt Date: Wed, 23 Mar 2022 13:04:12 +0100 Subject: [PATCH] Revert accidentally setting srgb option on glutin window based on vsync Introduced in a9fd03709ea47ca97e803937be6160fca8318f77 --- egui_glow/src/epi_backend.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/egui_glow/src/epi_backend.rs b/egui_glow/src/epi_backend.rs index 3d74a956..e9b1cf74 100644 --- a/egui_glow/src/epi_backend.rs +++ b/egui_glow/src/epi_backend.rs @@ -16,7 +16,7 @@ fn create_display( glutin::ContextBuilder::new() .with_depth_buffer(native_options.depth_buffer) .with_multisampling(native_options.multisampling) - .with_srgb(native_options.vsync) + .with_srgb(true) .with_stencil_buffer(native_options.stencil_buffer) .with_vsync(native_options.vsync) .build_windowed(window_builder, event_loop)