16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-18 03:09:18 +02:00

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")
{