mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-21 13:43:17 +00:00
Corrected issue on LoadASTC()
This commit is contained in:
parent
eed170f852
commit
bb43755a9d
@ -2674,7 +2674,7 @@ static Image LoadASTC(const char *fileName)
|
|||||||
fread(image.data, dataSize, 1, astcFile);
|
fread(image.data, dataSize, 1, astcFile);
|
||||||
|
|
||||||
if (bpp == 8) image.format = COMPRESSED_ASTC_4x4_RGBA;
|
if (bpp == 8) image.format = COMPRESSED_ASTC_4x4_RGBA;
|
||||||
else if (bpp == 2) image.format = COMPRESSED_ASTC_4x4_RGBA;
|
else if (bpp == 2) image.format = COMPRESSED_ASTC_8x8_RGBA;
|
||||||
}
|
}
|
||||||
else TraceLog(LOG_WARNING, "[%s] ASTC block size configuration not supported", fileName);
|
else TraceLog(LOG_WARNING, "[%s] ASTC block size configuration not supported", fileName);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user