Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a0059f3c authored by Linux Build Service Account's avatar Linux Build Service Account
Browse files

Merge f3b7c05d on remote branch

Change-Id: Ie4edb6ecf39a780ef84782d290a4ab62bab2a58b
parents 96e0ceb1 f3b7c05d
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -1079,7 +1079,13 @@ void OpenGLRenderer::composeLayer(sp<Snapshot> current, sp<Snapshot> previous) {
        }
    } else if (!rect.isEmpty()) {
        dirtyLayer(rect.left, rect.top, rect.right, rect.bottom);

        save(0);
        // the layer contains screen buffer content that shouldn't be alpha modulated
        // (and any necessary alpha modulation was handled drawing into the layer)
        mSnapshot->alpha = 1.0f;
        composeLayerRect(layer, rect, true);
        restore();
    }

    dirtyClip();