From 5ac159d47e3f5848d96c9fb2fd6b3764395aa03d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fredrik=20H=C3=B6glund?= Date: Wed, 10 Dec 2014 19:38:23 +0100 Subject: [PATCH] Fix cross-fading We have to bind a modulation shader when we're cross-fading. BUG: 341715 --- scene_opengl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scene_opengl.cpp b/scene_opengl.cpp index b4be490047..da64678152 100644 --- a/scene_opengl.cpp +++ b/scene_opengl.cpp @@ -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)