mirror of
https://github.com/yuzu-emu/FasTC
synced 2024-11-23 17:23:40 +00:00
Small refactor
This commit is contained in:
parent
5020f81f00
commit
eb312ccb0a
1 changed files with 5 additions and 5 deletions
|
@ -174,11 +174,11 @@ namespace PVRTCC {
|
|||
const uint8 lerpVals[3] = { 8, 4, 0 };
|
||||
uint8 modVal = b.GetLerpValue(texelIndex);
|
||||
|
||||
if(modVal == 2) {
|
||||
modVal = 1;
|
||||
punchThrough = true;
|
||||
} else if(modVal == 3) {
|
||||
modVal = 2;
|
||||
if(modVal >= 2) {
|
||||
if(modVal == 2) {
|
||||
punchThrough = true;
|
||||
}
|
||||
modVal -= 1;
|
||||
}
|
||||
|
||||
lerpVal = lerpVals[modVal];
|
||||
|
|
Loading…
Reference in a new issue