forked from teamnwah/openmw-tes3coop
Fix for applying view distance
This commit is contained in:
parent
2235d2978b
commit
5ea61af6ac
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue