mirror of
https://github.com/emilk/egui.git
synced 2026-09-02 14:50:03 -04:00
Revert accidentally setting srgb option on glutin window based on vsync
Introduced in a9fd03709e
This commit is contained in:
@@ -16,7 +16,7 @@ fn create_display(
|
|||||||
glutin::ContextBuilder::new()
|
glutin::ContextBuilder::new()
|
||||||
.with_depth_buffer(native_options.depth_buffer)
|
.with_depth_buffer(native_options.depth_buffer)
|
||||||
.with_multisampling(native_options.multisampling)
|
.with_multisampling(native_options.multisampling)
|
||||||
.with_srgb(native_options.vsync)
|
.with_srgb(true)
|
||||||
.with_stencil_buffer(native_options.stencil_buffer)
|
.with_stencil_buffer(native_options.stencil_buffer)
|
||||||
.with_vsync(native_options.vsync)
|
.with_vsync(native_options.vsync)
|
||||||
.build_windowed(window_builder, event_loop)
|
.build_windowed(window_builder, event_loop)
|
||||||
|
|||||||
Reference in New Issue
Block a user