1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-29 12:50:04 -04:00

Silence nightly clippy

This commit is contained in:
Emil Ernerfeldt
2021-09-05 10:19:28 +02:00
parent 391bec1170
commit acf9d0114d

View File

@@ -64,6 +64,7 @@ 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,