Commit ec1d0644 authored by David Edmundson's avatar David Edmundson Committed by Nate Graham
Browse files

Drop shaderTrait adjustment on crossfade

Crossfade is now hanlded by regular scene painting, only by offscreen
effects. There is no need for scene code to have awareness and use a
more expensive shader.

(cherry picked from commit 4d0f8e41)
parent 84e3ff01
Pipeline #246528 canceled with stage
in 13 seconds
......@@ -441,7 +441,7 @@ void SceneOpenGL::render(Item *item, int mask, const QRegion &region, const Wind
ShaderTraits shaderTraits = ShaderTrait::MapTexture;
if (data.brightness() != 1.0 || data.crossFadeProgress() != 1.0) {
if (data.brightness() != 1.0) {
shaderTraits |= ShaderTrait::Modulate;
if (data.saturation() != 1.0) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment