diff options
| author | Connor McLaughlin <stenzek@gmail.com> | 2019-03-29 21:56:28 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-03-29 21:56:28 +1000 |
| commit | 377615b06fd61717edb39b51964e611fd2da8cdc (patch) | |
| tree | b95d2e759189c90cc598f311dcf4da69e3668c22 /Source/Core/VideoCommon/TextureCacheBase.cpp | |
| parent | f3fadd730218429a5f6472283d16d30d7e276f8d (diff) | |
| parent | 604ab67c7f28dc03a82ee7aa1bcc487d39ea6f8c (diff) | |
Merge pull request #7905 from stenzek/vulkan-cleanup
Vulkan: Simplify command buffer fence tracking
Diffstat (limited to 'Source/Core/VideoCommon/TextureCacheBase.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/TextureCacheBase.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/TextureCacheBase.cpp b/Source/Core/VideoCommon/TextureCacheBase.cpp index a5ff0081c5..a210be3bc3 100644 --- a/Source/Core/VideoCommon/TextureCacheBase.cpp +++ b/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); |
