Changed if to else if. (#1122)

This commit is contained in:
SasLuca
2020-03-08 17:03:23 +00:00
committed by GitHub
parent 20d8889a03
commit 680f9d5772

View File

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