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

Commit 43c6eda4 authored by Romain Guy's avatar Romain Guy Committed by Android Git Automerger
Browse files

am b3778531: Merge "Set the scissor from OpenGLRenderer::drawColorRects Bug #8131254"

# Via Android (Google) Code Review (1) and Romain Guy (1)
* commit 'b3778531':
  Set the scissor from OpenGLRenderer::drawColorRects Bug #8131254
parents d4cf7df1 b3778531
Loading
Loading
Loading
Loading
+3 −1
Original line number Original line Diff line number Diff line
@@ -3241,7 +3241,9 @@ status_t OpenGLRenderer::drawColorRects(const float* rects, int count, int color
        }
        }
    }
    }


    if (count == 0) return DrawGlInfo::kStatusDone;
    if (count == 0 || quickReject(left, top, right, bottom)) {
        return DrawGlInfo::kStatusDone;
    }


    setupDraw();
    setupDraw();
    setupDrawNoTexture();
    setupDrawNoTexture();