VulkanDevice: Fix incorrect condition in UnbindTexture()

pull/3273/head
Stenzek 7 months ago
parent cabba81a76
commit efc821bc84
No known key found for this signature in database

@ -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++)
{

Loading…
Cancel
Save