Pārlūkot izejas kodu

Changed `if` to `else if`. (#1122)

pull/1126/head
SasLuca pirms 6 gadiem
committed by GitHub
vecāks
revīzija
680f9d5772
Šim parakstam datu bāzē netika atrasta zināma atslēga GPG atslēgas ID: 4AEE18F83AFDEB23
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      src/textures.c

+ 1
- 1
src/textures.c Parādīt failu

@ -3118,7 +3118,7 @@ static Image LoadDDS(const char *fileName)
}
}
}
if (ddsHeader.ddspf.flags == 0x40 && ddsHeader.ddspf.rgbBitCount == 24) // DDS_RGB, no compressed
else if (ddsHeader.ddspf.flags == 0x40 && ddsHeader.ddspf.rgbBitCount == 24) // DDS_RGB, no compressed
{
// NOTE: not sure if this case exists...
image.data = (unsigned char *)RL_MALLOC(image.width*image.height*3*sizeof(unsigned char));

Notiek ielāde…
Atcelt
Saglabāt