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

Commit 46d5466b authored by ywen's avatar ywen
Browse files

Revert "Fix stencil buffer bug."

This reverts commit ea327b48.
parent c184525c
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -1753,10 +1753,6 @@ 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();