mirror of
https://github.com/yuzu-emu/FasTC.git
synced 2025-01-24 13:21:08 +00:00
Get rid of unused variable
This commit is contained in:
parent
4f44826056
commit
0b85431526
|
@ -646,18 +646,14 @@ namespace PVRTCC {
|
||||||
}
|
}
|
||||||
|
|
||||||
Block *pixelBlock = &topLeftBlock;
|
Block *pixelBlock = &topLeftBlock;
|
||||||
uint32 pixelBlockIdx = topLeftBlockIdx;
|
|
||||||
if(x > 1) {
|
if(x > 1) {
|
||||||
if(y > 1) {
|
if(y > 1) {
|
||||||
pixelBlock = &bottomRightBlock;
|
pixelBlock = &bottomRightBlock;
|
||||||
pixelBlockIdx = bottomRightBlockIdx;
|
|
||||||
} else {
|
} else {
|
||||||
pixelBlock = &topRightBlock;
|
pixelBlock = &topRightBlock;
|
||||||
pixelBlockIdx = topRightBlockIdx;
|
|
||||||
}
|
}
|
||||||
} else if(y > 1) {
|
} else if(y > 1) {
|
||||||
pixelBlock = &bottomLeftBlock;
|
pixelBlock = &bottomLeftBlock;
|
||||||
pixelBlockIdx = bottomLeftBlockIdx;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
assert(pixelBlockIdx < blocksW * blocksH);
|
assert(pixelBlockIdx < blocksW * blocksH);
|
||||||
|
|
Loading…
Reference in a new issue