Initializers for attachment descriptions
This commit is contained in:
parent
81af6fe108
commit
8ee2687ced
2 changed files with 5 additions and 2 deletions
|
|
@ -402,7 +402,7 @@ public:
|
|||
// Set up separate renderpass with references
|
||||
// to the color and depth attachments
|
||||
|
||||
std::array<VkAttachmentDescription, 4> attachmentDescs;
|
||||
std::array<VkAttachmentDescription, 4> attachmentDescs = {};
|
||||
|
||||
// Init attachment properties
|
||||
for (uint32_t i = 0; i < 4; ++i)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue