summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorHaoyu Qiu <timothyqiu32@gmail.com>2020-03-10 14:36:39 +0800
committerHaoyu Qiu <timothyqiu32@gmail.com>2020-03-10 14:36:39 +0800
commit46230d253b9ecb17a2606526c8d5229bfd103c58 (patch)
treedc78d0787b3b006758a65b5e88fdfb74b293b26f /drivers
parent5a6f96e01d6deb31dd09eea725331a67bba72cd7 (diff)
Initializes VulkanContext::queue_props to NULL
Diffstat (limited to 'drivers')
-rw-r--r--drivers/vulkan/vulkan_context.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/vulkan/vulkan_context.cpp b/drivers/vulkan/vulkan_context.cpp
index 038cae7f96..3a1ab0cf56 100644
--- a/drivers/vulkan/vulkan_context.cpp
+++ b/drivers/vulkan/vulkan_context.cpp
@@ -1514,6 +1514,7 @@ VkPhysicalDeviceLimits VulkanContext::get_device_limits() const {
}
VulkanContext::VulkanContext() {
+ queue_props = NULL;
command_buffer_count = 0;
instance_validation_layers = NULL;
use_validation_layers = true;