[client] egl: always render desktop texture as opaque

We ask for 32-bit colour buffer when creating the EGL context. On Wayland,
this sometimes give contexts with alpha channels, resulting in unwanted
transparency. So we clear the alpha channel in the desktop shader.

We also switch to using constant alpha for blending the splash, which
avoids more alpha issues.
This commit is contained in:
Quantum
2021-01-26 21:49:22 -05:00
committed by Geoffrey McRae
parent 9f0b99dac0
commit 8559b354ae
6 changed files with 9 additions and 19 deletions

View File

@@ -84,4 +84,6 @@ void main()
color *= 1.0 + lumi;
color *= nvGain;
}
color.a = 1.0;
}