Get rid of unused variable

This commit is contained in:
Pavel Krajcevski 2013-10-14 17:48:00 -04:00
parent 4f44826056
commit 0b85431526

View File

@ -646,18 +646,14 @@ namespace PVRTCC {
}
Block *pixelBlock = &topLeftBlock;
uint32 pixelBlockIdx = topLeftBlockIdx;
if(x > 1) {
if(y > 1) {
pixelBlock = &bottomRightBlock;
pixelBlockIdx = bottomRightBlockIdx;
} else {
pixelBlock = &topRightBlock;
pixelBlockIdx = topRightBlockIdx;
}
} else if(y > 1) {
pixelBlock = &bottomLeftBlock;
pixelBlockIdx = bottomLeftBlockIdx;
}
assert(pixelBlockIdx < blocksW * blocksH);