Fix cross-fading
We have to bind a modulation shader when we're cross-fading. BUG: 341715
This commit is contained in:
parent
060b310082
commit
5ac159d47e
1 changed files with 1 additions and 1 deletions
|
@ -1429,7 +1429,7 @@ void SceneOpenGL2Window::performPaint(int mask, QRegion region, WindowPaintData
|
|||
if (!shader) {
|
||||
ShaderTraits traits = ShaderTrait::MapTexture;
|
||||
|
||||
if (data.opacity() != 1.0 || data.brightness() != 1.0)
|
||||
if (data.opacity() != 1.0 || data.brightness() != 1.0 || data.crossFadeProgress() != 1.0)
|
||||
traits |= ShaderTrait::Modulate;
|
||||
|
||||
if (data.saturation() != 1.0)
|
||||
|
|
Loading…
Reference in a new issue