1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-26 22:53:14 -04:00

Remove .with_srgb(false) when constructing window (#2110)

This commit is contained in:
Emil Ernerfeldt
2022-10-08 11:43:48 +02:00
committed by GitHub
parent f61044cef7
commit eba3927ace
4 changed files with 0 additions and 4 deletions

View File

@@ -338,7 +338,6 @@ mod glow_integration {
.with_hardware_acceleration(hardware_acceleration)
.with_depth_buffer(native_options.depth_buffer)
.with_multisampling(native_options.multisampling)
.with_srgb(false)
.with_stencil_buffer(native_options.stencil_buffer)
.with_vsync(native_options.vsync)
.build_windowed(window_builder, event_loop)

View File

@@ -115,7 +115,6 @@ fn create_display(event_loop: &glutin::event_loop::EventLoop<()>) -> glium::Disp
let context_builder = glutin::ContextBuilder::new()
.with_depth_buffer(0)
.with_srgb(false)
.with_stencil_buffer(0)
.with_vsync(true);

View File

@@ -101,7 +101,6 @@ fn create_display(event_loop: &glutin::event_loop::EventLoop<()>) -> glium::Disp
let context_builder = glutin::ContextBuilder::new()
.with_depth_buffer(0)
.with_srgb(false)
.with_stencil_buffer(0)
.with_vsync(true);

View File

@@ -116,7 +116,6 @@ fn create_display(
let gl_window = unsafe {
glutin::ContextBuilder::new()
.with_depth_buffer(0)
.with_srgb(false)
.with_stencil_buffer(0)
.with_vsync(true)
.build_windowed(window_builder, event_loop)