Skip to content
Permalink
Browse files

TextureCacheBase: Fix possible crash on shutdown with deferred EFB co…

…pies
  • Loading branch information...
stenzek committed Mar 17, 2019
1 parent 427dd45 commit 087b11e780a89928ae4f6d2229eb3e79f4f0689b
Showing with 3 additions and 0 deletions.
  1. +3 −0 Source/Core/VideoCommon/TextureCacheBase.cpp
@@ -96,6 +96,9 @@ TextureCacheBase::TextureCacheBase()

TextureCacheBase::~TextureCacheBase()
{
// Clear pending EFB copies first, so we don't try to flush them.
m_pending_efb_copies.clear();

HiresTexture::Shutdown();
Invalidate();
Common::FreeAlignedMemory(temp);

0 comments on commit 087b11e

Please sign in to comment.
You can’t perform that action at this time.