diff options
| author | Fletcher Porter <me@fletcherporter.com> | 2021-10-13 23:54:06 -0700 |
|---|---|---|
| committer | Fletcher Porter <me@fletcherporter.com> | 2021-10-13 23:54:06 -0700 |
| commit | f16e9045a22fc7e0eeac49cb8fc23d7f8f673355 (patch) | |
| tree | d0242a89e79057a478f27669fbf6e6c55896ae92 /Source/Core/VideoBackends/Software/Tev.cpp | |
| parent | 023eb0b7029eb3633ce9eeb039c11d835ea7fd74 (diff) | |
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.
Diffstat (limited to 'Source/Core/VideoBackends/Software/Tev.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/Software/Tev.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/VideoBackends/Software/Tev.cpp b/Source/Core/VideoBackends/Software/Tev.cpp index 1da39f6ca7..28c6c5f29d 100644 --- a/Source/Core/VideoBackends/Software/Tev.cpp +++ b/Source/Core/VideoBackends/Software/Tev.cpp @@ -814,6 +814,8 @@ void Tev::Draw() fog = 1.0f - fog; fog = pow(2.0f, -8.0f * fog * fog); break; + default: + break; } // lerp from output to fog color |
