VulkanDevice: Fix incorrect condition in UnbindTexture()

This commit is contained in:
Stenzek 2024-08-06 14:24:52 +10:00
parent cabba81a76
commit efc821bc84
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -3760,7 +3760,7 @@ void VulkanDevice::UnbindTexture(VulkanTexture* tex)
}
}
if (tex->IsRenderTarget() || tex->IsDepthStencil())
if (tex->IsRenderTarget() || tex->IsRWTexture())
{
for (u32 i = 0; i < m_num_current_render_targets; i++)
{