diff --git a/PVRTCEncoder/src/Compressor.cpp b/PVRTCEncoder/src/Compressor.cpp index 1f8b6af..fcf1149 100644 --- a/PVRTCEncoder/src/Compressor.cpp +++ b/PVRTCEncoder/src/Compressor.cpp @@ -246,12 +246,6 @@ namespace PVRTCC { CompressionLabel *labels, const uint8 *inBuf, const uint32 x, const uint32 y, const Indexer &idxr) { - uint32 width = idxr.GetWidth(); - uint32 height = idxr.GetHeight(); - - AssertPOT(width); - AssertPOT(height); - const uint32 *pixels = reinterpret_cast(inBuf); uint32 idx0 = idxr(x, y); uint8 i0 = LookupIntensityByte(labels, pixels, idx0);