mirror of
https://github.com/emilk/egui.git
synced 2026-06-26 22:53:14 -04:00
@@ -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