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