mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-15 06:58:37 +02:00
Add a missing Invalidate() call in ~TextureCache(). Fixes a regression from 8bed27a3d1
causing textures to load improperly when a game is run two times in the same Dolphin instance
This commit is contained in:
@ -74,6 +74,7 @@ void TextureCache::Invalidate()
|
||||
|
||||
TextureCache::~TextureCache()
|
||||
{
|
||||
Invalidate();
|
||||
if (temp)
|
||||
{
|
||||
FreeAlignedMemory(temp);
|
||||
|
Reference in New Issue
Block a user