mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-07 04:41:43 +00:00
Fix wrong loop
This commit is contained in:
1 parent
49ef739761
commit
1117c2760d
1 file changed
+1
-1
@@ -1733,7 +1733,7 @@ ResourceId VulkanDebugManager::RenderOverlay(ResourceId texid, TextureDisplayOve
|
||||
VkPipelineColorBlendStateCreateInfo *cb = (VkPipelineColorBlendStateCreateInfo *)pipeCreateInfo.pColorBlendState;
|
||||
cb->logicOpEnable = false;
|
||||
cb->attachmentCount = 1; // only one colour attachment
|
||||
for(uint32_t i=0; i < cb->attachmentCount; cb++)
|
||||
for(uint32_t i=0; i < cb->attachmentCount; i++)
|
||||
{
|
||||
VkPipelineColorBlendAttachmentState *att = (VkPipelineColorBlendAttachmentState *)&cb->pAttachments[i];
|
||||
att->blendEnable = false;
|
||||
|
||||
Reference in new issue
Block a user