clamp anisotropy minimum to 1.0

This commit is contained in:
milek7
2019-04-25 22:18:29 +02:00
parent 1060e47a43
commit 2ffd2e569c

View File

@@ -263,6 +263,8 @@ global_settings::ConfigParse(cParser &Parser) {
Parser.getTokens( 1, false );
Parser >> AnisotropicFiltering;
if (AnisotropicFiltering < 1.0f)
AnisotropicFiltering = 1.0f;
}
else if (token == "feedbackmode")
{