diff options
| author | Scott Mansell <phiren@gmail.com> | 2021-10-14 20:42:11 +1300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-14 20:42:11 +1300 |
| commit | 0d5f2810e7e7a141c866bc27fd4d69890bf54a14 (patch) | |
| tree | d0242a89e79057a478f27669fbf6e6c55896ae92 /Source/Core/VideoBackends/Software | |
| parent | 023eb0b7029eb3633ce9eeb039c11d835ea7fd74 (diff) | |
| parent | f16e9045a22fc7e0eeac49cb8fc23d7f8f673355 (diff) | |
Merge pull request #10166 from fpdotmonkey/heed-tev-switch-warning
Silence the -Wswitch warnings in Tev
Diffstat (limited to 'Source/Core/VideoBackends/Software')
| -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 |
