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:
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…
x
Reference in New Issue
Block a user