diff options
| author | Ray <[email protected]> | 2018-05-12 23:33:03 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2018-05-12 23:33:03 +0200 |
| commit | bb43755a9df89fab3018c5684d9a38ae5b52397b (patch) | |
| tree | ebcd6c3fe7e1bc2bf5dfb3f9a2f61a23a9fe4e63 | |
| parent | eed170f85217b38bd0ff8091325dcaf06fd61608 (diff) | |
| download | raylib-bb43755a9df89fab3018c5684d9a38ae5b52397b.tar.gz raylib-bb43755a9df89fab3018c5684d9a38ae5b52397b.zip | |
Corrected issue on LoadASTC()
| -rw-r--r-- | src/textures.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/textures.c b/src/textures.c index cb566c5e..7344e74b 100644 --- a/src/textures.c +++ b/src/textures.c @@ -2674,7 +2674,7 @@ static Image LoadASTC(const char *fileName) fread(image.data, dataSize, 1, astcFile); 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); } |
