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

Commit 12b8941a authored by ywen's avatar ywen Committed by Steve Kondik
Browse files

Revert "Fix stencil buffer bug."

This reverts commit ea327b48.

Change-Id: I8e4b8b4c6cf48930907cdb52c95135dd6f338af2
parent 19caf8cc
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -1765,12 +1765,6 @@ void OpenGLRenderer::setupDraw(bool clear) {
            setScissorFromClip();
        }
        setStencilFromClip();
#ifdef QCOM_HARDWARE
    } else {
        // Disable stencil test in case setStencilFromClip()
        // enabled the stencil test but didn't disable it
        glDisable(GL_STENCIL_TEST);
#endif
    }

    mDescription.reset();