Browse Source

ident

pull/4364/head
Artem Borovik 1 month ago
parent
commit
20b95c88e0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/rlgl.h

+ 1
- 1
src/rlgl.h View File

@ -1451,7 +1451,7 @@ void rlBegin(int mode)
if (RLGL.currentBatch->draws[RLGL.currentBatch->drawCounter - 1].mode != mode)
{
int currentTexture = RLGL.currentBatch->draws[RLGL.currentBatch->drawCounter - 1].textureId;
if (RLGL.currentBatch->draws[RLGL.currentBatch->drawCounter - 1].vertexCount > 0)
if (RLGL.currentBatch->draws[RLGL.currentBatch->drawCounter - 1].vertexCount > 0)
{
// Make sure current RLGL.currentBatch->draws[i].vertexCount is aligned a multiple of 4,
// that way, following QUADS drawing will keep aligned with index processing

Loading…
Cancel
Save