Silence the -Wswitch warnings in Tev

The compiler was loudly announcing each and every branch Tev was not checking in
a switch statement, but Tev has learned it's lesson and will produce that
warning no more.
This commit is contained in:
Fletcher Porter 2021-10-13 23:54:06 -07:00
parent 023eb0b702
commit f16e9045a2
1 changed files with 2 additions and 0 deletions

View File

@ -814,6 +814,8 @@ void Tev::Draw()
fog = 1.0f - fog; fog = 1.0f - fog;
fog = pow(2.0f, -8.0f * fog * fog); fog = pow(2.0f, -8.0f * fog * fog);
break; break;
default:
break;
} }
// lerp from output to fog color // lerp from output to fog color