When flushing texture cache, also remove device textures
parent
1c461ce1c8
commit
92591c23b6
|
@ -2524,6 +2524,8 @@ void CEngine::DeleteTexture(const Texture& tex)
|
|||
|
||||
void CEngine::FlushTextureCache()
|
||||
{
|
||||
m_device->DestroyAllTextures();
|
||||
|
||||
m_texNameMap.clear();
|
||||
m_revTexNameMap.clear();
|
||||
m_texBlacklist.clear();
|
||||
|
|
Loading…
Reference in New Issue