1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-26 09:35:28 +00:00

Clear terrain texture cache before applying filter settings

This commit is contained in:
scrawl 2016-02-05 23:20:13 +01:00
parent 9e53e12c70
commit 499beda665

View File

@ -783,6 +783,9 @@ namespace MWRender
void RenderingManager::updateTextureFiltering()
{
if (mTerrain.get())
mTerrain->clearCache();
mResourceSystem->getSceneManager()->setFilterSettings(
Settings::Manager::getString("texture mag filter", "General"),
Settings::Manager::getString("texture min filter", "General"),