vk: Properly release dma resources.

This commit is contained in:
kd-11 2020-03-10 14:30:09 +03:00 committed by kd-11
parent 3ea94c286b
commit 7989de9d16
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ namespace vk
void destroy() void destroy()
{ {
if (!exists()) if (!exists() && context != rsx::texture_upload_context::dma)
return; return;
m_tex_cache->on_section_destroyed(*this); m_tex_cache->on_section_destroyed(*this);