Merge pull request #10166 from fpdotmonkey/heed-tev-switch-warning

Silence the -Wswitch warnings in Tev
This commit is contained in:
Scott Mansell 2021-10-14 20:42:11 +13:00 committed by GitHub
commit 0d5f2810e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -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