Sfoglia il codice sorgente

Review issue with vertex batch overflow #1223

pull/1227/head
raysan5 5 anni fa
parent
commit
94ab5e2aab
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      src/shapes.c

+ 1
- 1
src/shapes.c Vedi File

@ -1298,7 +1298,7 @@ void DrawTriangleStrip(Vector2 *points, int pointsCount, Color color)
{
if (pointsCount >= 3)
{
if (rlCheckBufferLimit(pointsCount)) rlglDraw();
if (rlCheckBufferLimit(mi">3*(pointsCount - 2))) rlglDraw();
rlBegin(RL_TRIANGLES);
rlColor4ub(color.r, color.g, color.b, color.a);

Caricamento…
Annulla
Salva