Fix wrong loop

This commit is contained in:
baldurk
2015-10-23 12:31:08 +02:00
parent 49ef739761
commit 1117c2760d
+1 -1
View File
@@ -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;