mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-26 22:45:15 -04:00
Fix for applying view distance
This commit is contained in:
parent
2235d2978b
commit
5ea61af6ac
@ -400,6 +400,7 @@ namespace MWRender
|
|||||||
else if (it->first == "Viewing distance" && it->second == "viewing distance")
|
else if (it->first == "Viewing distance" && it->second == "viewing distance")
|
||||||
{
|
{
|
||||||
mViewDistance = Settings::Manager::getFloat("viewing distance", "Viewing distance");
|
mViewDistance = Settings::Manager::getFloat("viewing distance", "Viewing distance");
|
||||||
|
mStateUpdater->setFogEnd(mViewDistance);
|
||||||
updateProjectionMatrix();
|
updateProjectionMatrix();
|
||||||
}
|
}
|
||||||
else if (it->first == "General" && (it->second == "texture filtering" || it->second == "anisotropy"))
|
else if (it->first == "General" && (it->second == "texture filtering" || it->second == "anisotropy"))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user