mirror of
https://github.com/emilk/egui.git
synced 2026-09-01 14:20:04 -04:00
glow: move where FRAMEBUFFER_SRGB is enabled
This commit is contained in:
@@ -25,11 +25,6 @@ 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