diff options
Diffstat (limited to 'layers/draw_state.cpp')
| -rw-r--r-- | layers/draw_state.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layers/draw_state.cpp b/layers/draw_state.cpp index e17a36e4..b8b9df1b 100644 --- a/layers/draw_state.cpp +++ b/layers/draw_state.cpp @@ -2783,8 +2783,8 @@ VK_LAYER_EXPORT VkResult VKAPI vkCreateFramebuffer(VkDevice device, const VkFram // Shadow create info and store in map VkFramebufferCreateInfo* localFBCI = new VkFramebufferCreateInfo(*pCreateInfo); if (pCreateInfo->pAttachments) { - localFBCI->pAttachments = new VkAttachmentBindInfo[localFBCI->attachmentCount]; - memcpy((void*)localFBCI->pAttachments, pCreateInfo->pAttachments, localFBCI->attachmentCount*sizeof(VkAttachmentBindInfo)); + localFBCI->pAttachments = new VkAttachmentView[localFBCI->attachmentCount]; + memcpy((void*)localFBCI->pAttachments, pCreateInfo->pAttachments, localFBCI->attachmentCount*sizeof(VkAttachmentView)); } frameBufferMap[pFramebuffer->handle] = localFBCI; } |
