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

Commit b3778531 authored by Romain Guy's avatar Romain Guy Committed by Android (Google) Code Review
Browse files

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

parents e51ccb15 a362c69d
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();