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

Commit c422280a authored by Steve Kondik's avatar Steve Kondik
Browse files

hwui: This code should only be enabled with QCOM_BSP

 * Crashy crashy!

Change-Id: I1a06ac54a8ce2dccbf4a67424b0cbb6e7dd21e8b
parent b345f69e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -208,7 +208,7 @@ status_t OpenGLRenderer::prepareDirty(float left, float top, float right, float
}

status_t OpenGLRenderer::clear(float left, float top, float right, float bottom, bool opaque) {
#ifdef QCOM_HARDWARE
#ifdef QCOM_BSP
    mCaches.enableScissor();
    mCaches.setScissor(left, mSnapshot->height - bottom, right - left, bottom - top);
    glClear(GL_COLOR_BUFFER_BIT);