diff --git a/s3tc.cpp b/s3tc.cpp index f2642fc..66b0029 100644 --- a/s3tc.cpp +++ b/s3tc.cpp @@ -105,8 +105,8 @@ void BlockDecompressImageDXT1(uint32_t width, uint32_t height, const uint8_t *bl { uint32_t blockCountX = (width + 3) / 4; uint32_t blockCountY = (height + 3) / 4; - uint32_t blockWidth = (width < 4) ? width : 4; - uint32_t blockHeight = (height < 4) ? height : 4; + //uint32_t blockWidth = (width < 4) ? width : 4; + //uint32_t blockHeight = (height < 4) ? height : 4; for (uint32_t j = 0; j < blockCountY; j++) { @@ -236,8 +236,8 @@ void BlockDecompressImageDXT5(uint32_t width, uint32_t height, const uint8_t *bl { uint32_t blockCountX = (width + 3) / 4; uint32_t blockCountY = (height + 3) / 4; - uint32_t blockWidth = (width < 4) ? width : 4; - uint32_t blockHeight = (height < 4) ? height : 4; + //uint32_t blockWidth = (width < 4) ? width : 4; + //uint32_t blockHeight = (height < 4) ? height : 4; for (uint32_t j = 0; j < blockCountY; j++) {