Review issue with vertex batch overflow #1223
This commit is contained in:
parent
6e2d39c51b
commit
94ab5e2aab
1 changed files with 1 additions and 1 deletions
|
@ -1298,7 +1298,7 @@ void DrawTriangleStrip(Vector2 *points, int pointsCount, Color color)
|
||||||
{
|
{
|
||||||
if (pointsCount >= 3)
|
if (pointsCount >= 3)
|
||||||
{
|
{
|
||||||
if (rlCheckBufferLimit(pointsCount)) rlglDraw();
|
if (rlCheckBufferLimit(3*(pointsCount - 2))) rlglDraw();
|
||||||
|
|
||||||
rlBegin(RL_TRIANGLES);
|
rlBegin(RL_TRIANGLES);
|
||||||
rlColor4ub(color.r, color.g, color.b, color.a);
|
rlColor4ub(color.r, color.g, color.b, color.a);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue