From ef3577e45ca28a87bdf5510649367927c23508cb Mon Sep 17 00:00:00 2001 From: "Dr. Chat" Date: Sun, 29 Apr 2018 18:25:56 -0500 Subject: [PATCH] [Vulkan UI] Fix minor bug in specifying size of queue priorities array --- src/xenia/ui/vulkan/vulkan_device.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xenia/ui/vulkan/vulkan_device.cc b/src/xenia/ui/vulkan/vulkan_device.cc index d31ffc327..437f8568d 100644 --- a/src/xenia/ui/vulkan/vulkan_device.cc +++ b/src/xenia/ui/vulkan/vulkan_device.cc @@ -169,7 +169,7 @@ bool VulkanDevice::Initialize(DeviceInfo device_info) { queue_info.queueFamilyIndex = i; queue_info.queueCount = family_props.queueCount; - queue_priorities[i].resize(queue_count, 0.f); + queue_priorities[i].resize(family_props.queueCount, 0.f); if (i == ideal_queue_family_index) { // Prioritize the first queue on the primary queue family. queue_priorities[i][0] = 1.0f;