Explorar o código

Corrected typo

Ray %!s(int64=6) %!d(string=hai) anos
pai
achega
b051f7778f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/textures.c

+ 1 - 1
src/textures.c

@@ -2890,7 +2890,7 @@ static Image LoadPKM(const char *fileName)
         // Get the image header
         fread(&pkmHeader, sizeof(PKMHeader), 1, pkmFile);
 
-        if ((pkmHeader.id[0] != 'P') || (pkmHeader.id[1] != 'K') || (pkmHeader.id[2] != 'M') || (ddsHeaderId[3] != ' '))
+        if ((pkmHeader.id[0] != 'P') || (pkmHeader.id[1] != 'K') || (pkmHeader.id[2] != 'M') || (pkmHeader.id[3] != ' '))
         {
             TraceLog(LOG_WARNING, "[%s] PKM file does not seem to be a valid image", fileName);
         }