Revert accidentally setting srgb option on glutin window based on vsync

Introduced in a9fd03709e
This commit is contained in:
Emil Ernerfeldt 2022-03-23 13:04:12 +01:00
parent 1387d6e9d6
commit 3e41da7187

View file

@ -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)