mirror of
https://github.com/yuzu-emu/FasTC.git
synced 2025-01-09 15:15:38 +00:00
Small refactor
This commit is contained in:
parent
5020f81f00
commit
eb312ccb0a
|
@ -174,11 +174,11 @@ namespace PVRTCC {
|
||||||
const uint8 lerpVals[3] = { 8, 4, 0 };
|
const uint8 lerpVals[3] = { 8, 4, 0 };
|
||||||
uint8 modVal = b.GetLerpValue(texelIndex);
|
uint8 modVal = b.GetLerpValue(texelIndex);
|
||||||
|
|
||||||
if(modVal == 2) {
|
if(modVal >= 2) {
|
||||||
modVal = 1;
|
if(modVal == 2) {
|
||||||
punchThrough = true;
|
punchThrough = true;
|
||||||
} else if(modVal == 3) {
|
}
|
||||||
modVal = 2;
|
modVal -= 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
lerpVal = lerpVals[modVal];
|
lerpVal = lerpVals[modVal];
|
||||||
|
|
Loading…
Reference in a new issue