From 0e1fc33c5c85a81fb1397e1f98f6bed68519e8fc Mon Sep 17 00:00:00 2001 From: Jeffery Myers Date: Sat, 26 Oct 2024 13:59:50 -0700 Subject: [PATCH] Fix signed/unsigned mismatch in rlgl (#4443) --- src/rlgl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rlgl.h b/src/rlgl.h index 34cae97e..756656e5 100644 --- a/src/rlgl.h +++ b/src/rlgl.h @@ -3408,7 +3408,7 @@ unsigned int rlLoadTextureCubemap(const void *data, int size, int format, int mi if (glInternalFormat != 0) { // Load cubemap faces/mipmaps - for (unsigned int i = 0; i < 6*mipmapCount; i++) + for (int i = 0; i < 6*mipmapCount; i++) { int mipmapLevel = i/6; int face = i%6;