Silence nightly clippy
This commit is contained in:
parent
391bec1170
commit
acf9d0114d
1 changed files with 1 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue