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

Commit 0235fc8f authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "Fix stencil buffer bug."

parents 942ac554 ea327b48
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1753,6 +1753,10 @@ void OpenGLRenderer::setupDraw(bool clear) {
            setScissorFromClip();
        }
        setStencilFromClip();
    } else {
        // Disable stencil test in case setStencilFromClip()
        // enabled the stencil test but didn't disable it
        glDisable(GL_STENCIL_TEST);
    }

    mDescription.reset();