Browse Source

Revert accidentally setting srgb option on glutin window based on vsync

Introduced in a9fd03709e
pull/1413/head
Emil Ernerfeldt 3 years ago
parent
commit
3e41da7187
  1. 2
      egui_glow/src/epi_backend.rs

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

Loading…
Cancel
Save