From 20b95c88e06c4d01767b9e863289536fa7d0d926 Mon Sep 17 00:00:00 2001 From: Artem Borovik Date: Fri, 4 Oct 2024 20:43:04 +0300 Subject: [PATCH] ident --- src/rlgl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rlgl.h b/src/rlgl.h index 309b64909..b97ca18eb 100644 --- a/src/rlgl.h +++ b/src/rlgl.h @@ -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