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

Commit 47414be7 authored by Chris Craik's avatar Chris Craik Committed by Android Git Automerger
Browse files

am ab1a53c5: am bf62d307: am af5bd75b: Merge "Enable stencil clipping within clearLayerRegions"

* commit 'ab1a53c5':
  Enable stencil clipping within clearLayerRegions
parents 1f7b3b5c ab1a53c5
Loading
Loading
Loading
Loading
+1 −7
Original line number Diff line number Diff line
@@ -1568,13 +1568,7 @@ void OpenGLRenderer::setupDraw(bool clearLayer) {
            setScissorFromClip();
        }

        if (clearLayer) {
        setStencilFromClip();
        } else {
            // While clearing layer, force disable stencil buffer, since
            // it's invalid to stencil-clip *during* the layer clear
            mCaches.stencil.disable();
        }
    }

    mDescription.reset();