Remove useless float vector in vulkan backend

This commit is contained in:
Chairn 2022-06-11 21:43:45 +02:00
parent 01edaec628
commit e265a9f0a1

View file

@ -3752,8 +3752,8 @@ public:
VKQueueCreateInfo.sType = VK_STRUCTURE_TYPE_DEVICE_QUEUE_CREATE_INFO;
VKQueueCreateInfo.queueFamilyIndex = m_VKGraphicsQueueIndex;
VKQueueCreateInfo.queueCount = 1;
std::vector<float> vQueuePrio = {1.0f};
VKQueueCreateInfo.pQueuePriorities = vQueuePrio.data();
float QueuePrio = 1.0f;
VKQueueCreateInfo.pQueuePriorities = &QueuePrio;
VKQueueCreateInfo.pNext = NULL;
VKQueueCreateInfo.flags = 0;