[Vulkan UI] Fix minor bug in specifying size of queue priorities array

This commit is contained in:
Dr. Chat 2018-04-29 18:25:56 -05:00
parent efc36e50be
commit ef3577e45c
1 changed files with 1 additions and 1 deletions

View File

@ -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;