diff --git a/src/graphics/engine/engine.cpp b/src/graphics/engine/engine.cpp index 827cf364..f52b3562 100644 --- a/src/graphics/engine/engine.cpp +++ b/src/graphics/engine/engine.cpp @@ -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();