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:
parent
023eb0b702
commit
f16e9045a2
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue