1
0
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:
Emil Ernerfeldt
2022-03-20 23:04:44 +01:00
parent d20be45c4c
commit e369626d3d
3 changed files with 5 additions and 10 deletions

View File

@@ -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)
}