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

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

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

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