Minor: Initialize a struct. Decrease logging in sceMt19937.

This commit is contained in:
Henrik Rydgård committed 2020-08-09 21:45:42 +02:00
1 parent 4de34de57f
commit dd79d33f14
2 files changed
+2 -3

No files matched your search

+1 -1
View File
@@ -1179,7 +1179,7 @@ void VulkanQueueRunner::PerformRenderPass(const VKRStep &step, VkCommandBuffer c
rc.layerCount = 1;
rc.rect.extent.width = (uint32_t)curWidth;
rc.rect.extent.height = (uint32_t)curHeight;
VkClearAttachment attachments[2];
VkClearAttachment attachments[2]{};
if (c.clear.clearMask & VK_IMAGE_ASPECT_COLOR_BIT) {
VkClearAttachment &attachment = attachments[numAttachments++];
attachment.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT;