소스 검색

Fix signed/unsigned mismatch in rlgl (#4443)

Jeffery Myers 10 달 전
부모
커밋
0e1fc33c5c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/rlgl.h

+ 1 - 1
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;