Fix signed/unsigned mismatch in rlgl (#4443)

This commit is contained in:
Jeffery Myers 2024-10-26 13:59:50 -07:00 committed by GitHub
parent 7fe5f7126b
commit 0e1fc33c5c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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