mirror of
https://github.com/emilk/egui.git
synced 2026-08-31 05:40:03 -04:00
glow: move where FRAMEBUFFER_SRGB is enabled
This commit is contained in:
@@ -109,10 +109,5 @@ fn create_display(
|
||||
|
||||
let gl = unsafe { glow::Context::from_loader_function(|s| gl_window.get_proc_address(s)) };
|
||||
|
||||
unsafe {
|
||||
use glow::HasContext as _;
|
||||
gl.enable(glow::FRAMEBUFFER_SRGB);
|
||||
}
|
||||
|
||||
(gl_window, gl)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user