mirror of
https://github.com/storytold/egui.git
synced 2026-11-22 10:32:02 +01:00
1 parent
203d571c8b
commit
2382425198
1 file changed
-1
@@ -64,7 +64,6 @@ impl WebGlPainter {
|
||||
|
||||
let srgb_supported = matches!(gl.get_extension("EXT_sRGB"), Ok(Some(_)));
|
||||
|
||||
#[allow(clippy::branches_sharing_code)]
|
||||
let (texture_format, program, post_process) = if srgb_supported {
|
||||
let vert_shader = compile_shader(
|
||||
&gl,
|
||||
|
||||
Reference in new issue
Block a user