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

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

am af5bd75b: Merge "Enable stencil clipping within clearLayerRegions"

* commit 'af5bd75b':
  Enable stencil clipping within clearLayerRegions
parents f67cc149 af5bd75b
Loading
Loading
Loading
Loading
+1 −7
Original line number Diff line number Diff line
@@ -1607,13 +1607,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();