Skip to content

Commit

Permalink
Remove .with_srgb(false) when constructing window (#2110)
Browse files Browse the repository at this point in the history
  • Loading branch information
emilk authored Oct 8, 2022
1 parent f61044c commit eba3927
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion crates/eframe/src/native/run.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 0 additions & 1 deletion crates/egui_glium/examples/native_texture.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
1 change: 0 additions & 1 deletion crates/egui_glium/examples/pure_glium.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
1 change: 0 additions & 1 deletion crates/egui_glow/examples/pure_glow.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit eba3927

Please sign in to comment.