mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-11 08:23:46 +00:00
Fix incorrect comparison
This commit is contained in:
1 parent
4e113a08c7
commit
245b4cca92
1 file changed
+1
-1
@@ -160,7 +160,7 @@ void VulkanCreationInfo::RenderPass::Init(const VkRenderPassCreateInfo* pCreateI
|
||||
for(uint32_t i=0; i < subp.colorCount; i++)
|
||||
colorAttachments[i] = subp.colorAttachments[i].attachment;
|
||||
|
||||
depthstencilAttachment = (subp.depthStencilAttachment.attachment == VK_ATTACHMENT_UNUSED
|
||||
depthstencilAttachment = (subp.depthStencilAttachment.attachment != VK_ATTACHMENT_UNUSED
|
||||
? (int32_t)subp.depthStencilAttachment.attachment : -1);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user