Initialize device properties that might not all be filled out to 0

This commit is contained in:
baldurk
2018-07-12 13:29:58 +01:00
parent d72cfa58c7
commit 57f2cabc9b
@@ -664,9 +664,9 @@ bool WrappedVulkan::Serialise_vkEnumeratePhysicalDevices(SerialiserType &ser, Vk
uint32_t memIdxMap[VK_MAX_MEMORY_TYPES] = {0};
// not used at the moment but useful for reference and might be used
// in the future
VkPhysicalDeviceProperties physProps;
VkPhysicalDeviceMemoryProperties memProps;
VkPhysicalDeviceFeatures physFeatures;
VkPhysicalDeviceProperties physProps = {};
VkPhysicalDeviceMemoryProperties memProps = {};
VkPhysicalDeviceFeatures physFeatures = {};
uint32_t queueCount = 0;
VkQueueFamilyProperties queueProps[16] = {};