mirror of
https://github.com/opus-tango/IntroductionToVulkan.git
synced 2026-03-20 03:55:26 +00:00
Changed number of queue create infos provided during device creation from one to the actual number of elements in a vector (as found by fatto).
This commit is contained in:
@@ -284,7 +284,7 @@ namespace Tutorial {
|
||||
VK_STRUCTURE_TYPE_DEVICE_CREATE_INFO, // VkStructureType sType
|
||||
nullptr, // const void *pNext
|
||||
0, // VkDeviceCreateFlags flags
|
||||
1, // uint32_t queueCreateInfoCount
|
||||
static_cast<uint32_t>(queue_create_infos.size()), // uint32_t queueCreateInfoCount
|
||||
&queue_create_infos[0], // const VkDeviceQueueCreateInfo *pQueueCreateInfos
|
||||
0, // uint32_t enabledLayerCount
|
||||
nullptr, // const char * const *ppEnabledLayerNames
|
||||
|
||||
Reference in New Issue
Block a user