From 499beda6656e37b45aa35549126023fd4898ceb2 Mon Sep 17 00:00:00 2001 From: scrawl Date: Fri, 5 Feb 2016 23:20:13 +0100 Subject: [PATCH] Clear terrain texture cache before applying filter settings --- apps/openmw/mwrender/renderingmanager.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/openmw/mwrender/renderingmanager.cpp b/apps/openmw/mwrender/renderingmanager.cpp index d1b5f6fda..9b7ced4b5 100644 --- a/apps/openmw/mwrender/renderingmanager.cpp +++ b/apps/openmw/mwrender/renderingmanager.cpp @@ -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"),