diff options
Diffstat (limited to 'src/vulkan/anv_device.c')
-rw-r--r-- | src/vulkan/anv_device.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/vulkan/anv_device.c b/src/vulkan/anv_device.c index e7f74266e68..b10cc4512b4 100644 --- a/src/vulkan/anv_device.c +++ b/src/vulkan/anv_device.c @@ -1968,8 +1968,7 @@ VkResult anv_CreateFramebuffer( framebuffer->attachment_count = pCreateInfo->attachmentCount; for (uint32_t i = 0; i < pCreateInfo->attachmentCount; i++) { - VkAttachmentView _aview = pCreateInfo->pAttachments[i].view; - VkImageView _iview = { _aview.handle }; + VkImageView _iview = pCreateInfo->pAttachments[i]; framebuffer->attachments[i] = anv_image_view_from_handle(_iview); } |