Possible fix to #608

master
krzys-h 2015-08-31 12:06:14 +02:00
parent 82e06bfd8e
commit 2ec5e07080
1 changed files with 3 additions and 0 deletions

View File

@ -2554,6 +2554,9 @@ void CEngine::FlushTextureCache()
{
m_device->DestroyAllTextures();
m_backgroundTex.SetInvalid();
m_foregroundTex.SetInvalid();
m_texNameMap.clear();
m_revTexNameMap.clear();
m_texBlacklist.clear();