mirror of
https://github.com/opus-tango/IntroductionToVulkan.git
synced 2026-03-20 03:55:26 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user