Initializers for attachment descriptions

This commit is contained in:
saschawillems 2016-04-30 10:45:39 +02:00
parent 81af6fe108
commit 8ee2687ced
2 changed files with 5 additions and 2 deletions

View file

@ -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)