Explorar el Código

Review issue with vertex batch overflow #1223

pull/1227/head
raysan5 hace 5 años
padre
commit
94ab5e2aab
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      src/shapes.c

+ 1
- 1
src/shapes.c Ver fichero

@ -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);

Cargando…
Cancelar
Guardar