Clear terrain texture cache before applying filter settings

pull/893/head
scrawl 9 years ago
parent 9e53e12c70
commit 499beda665

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

Loading…
Cancel
Save