mirror of
https://github.com/stenzek/duckstation.git
synced 2025-06-06 19:45:33 +00:00
VulkanDevice: Fix incorrect condition in UnbindTexture()
This commit is contained in:
parent
cabba81a76
commit
efc821bc84
@ -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++)
|
for (u32 i = 0; i < m_num_current_render_targets; i++)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user