Fixed bug in buffer memory allocation code in tutorials 04 and 05. Modified ImageParameters structure (renamed "ImageView" member to "View", added "Sampler" member) and updated tutorial 03, 04 and 05. Fixed typos in comments.

This commit is contained in:
plapins
2016-06-14 12:27:47 +02:00
parent 2c06d5d63f
commit 6bce4d9799
7 changed files with 21 additions and 15 deletions

View File

@@ -85,7 +85,7 @@ namespace ApiWithoutSecrets {
0, // VkFramebufferCreateFlags flags
Vulkan.RenderPass, // VkRenderPass renderPass
1, // uint32_t attachmentCount
&swap_chain_images[i].ImageView, // const VkImageView *pAttachments
&swap_chain_images[i].View, // const VkImageView *pAttachments
300, // uint32_t width
300, // uint32_t height
1 // uint32_t layers