Fix some further static analysis warnings

This commit is contained in:
Henrik Rydgård committed 2019-06-18 01:08:25 +02:00
1 parent a0dc85a9d7
commit eb3faf5370
6 files changed
+10 -11

No files matched your search

+1 -1
View File
@@ -156,7 +156,7 @@ void VulkanRenderManager::CreateBackbuffers() {
VkCommandBuffer cmdInit = GetInitCmd();
for (uint32_t i = 0; i < swapchainImageCount_; i++) {
SwapchainImageData sc_buffer;
SwapchainImageData sc_buffer{};
sc_buffer.image = swapchainImages[i];
VkImageViewCreateInfo color_image_view = { VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO };