1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-29 22:15:32 +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"),