mirror of
https://github.com/emilk/egui.git
synced 2026-06-28 07:23:13 -04:00
add color test window to troubleshoot your Egui painter backend
egui_glium passes the test, but the egui_web WebGL painter fails it.
This commit is contained in:
@@ -207,6 +207,7 @@ impl Painter {
|
||||
gl.bind_texture(Gl::TEXTURE_2D, Some(&self.egui_texture));
|
||||
|
||||
// TODO: https://developer.mozilla.org/en-US/docs/Web/API/EXT_sRGB
|
||||
// https://www.khronos.org/registry/webgl/extensions/EXT_sRGB/
|
||||
let level = 0;
|
||||
let internal_format = Gl::RGBA;
|
||||
let border = 0;
|
||||
|
||||
Reference in New Issue
Block a user