Remove unused variables

This commit is contained in:
Pavel Krajcevski 2015-04-11 14:08:29 -07:00
parent 77a78511c6
commit 16dd6c2af2

View file

@ -246,12 +246,6 @@ namespace PVRTCC {
CompressionLabel *labels, const uint8 *inBuf, CompressionLabel *labels, const uint8 *inBuf,
const uint32 x, const uint32 y, const Indexer &idxr) { 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<const uint32 *>(inBuf); const uint32 *pixels = reinterpret_cast<const uint32 *>(inBuf);
uint32 idx0 = idxr(x, y); uint32 idx0 = idxr(x, y);
uint8 i0 = LookupIntensityByte(labels, pixels, idx0); uint8 i0 = LookupIntensityByte(labels, pixels, idx0);