Skip to content

Commit

Permalink
VulkanDevice: Fix incorrect condition in UnbindTexture()
Browse files Browse the repository at this point in the history
  • Loading branch information
stenzek committed Aug 6, 2024
1 parent cabba81 commit efc821b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/vulkan_device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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++)
{
Expand Down

0 comments on commit efc821b

Please sign in to comment.