mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
TextureCacheBase: Fix possible crash on shutdown with deferred EFB copies
This commit is contained in:
@ -96,6 +96,9 @@ TextureCacheBase::TextureCacheBase()
|
|||||||
|
|
||||||
TextureCacheBase::~TextureCacheBase()
|
TextureCacheBase::~TextureCacheBase()
|
||||||
{
|
{
|
||||||
|
// Clear pending EFB copies first, so we don't try to flush them.
|
||||||
|
m_pending_efb_copies.clear();
|
||||||
|
|
||||||
HiresTexture::Shutdown();
|
HiresTexture::Shutdown();
|
||||||
Invalidate();
|
Invalidate();
|
||||||
Common::FreeAlignedMemory(temp);
|
Common::FreeAlignedMemory(temp);
|
||||||
|
Reference in New Issue
Block a user