Fix signed/unsigned mismatch in rlgl

This commit is contained in:
Jeffery Myers 2024-10-26 13:46:32 -07:00
parent ff66b49c19
commit fe8a304d3e

View File

@ -3408,7 +3408,7 @@ unsigned int rlLoadTextureCubemap(const void *data, int size, int format, int mi
if (glInternalFormat != 0) if (glInternalFormat != 0)
{ {
// Load cubemap faces/mipmaps // 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 mipmapLevel = i/6;
int face = i%6; int face = i%6;