diff test1.nim @ 1193:5aa1184fa5eb compiletime-tests

did: a few more things
author sam <sam@basx.dev>
date Mon, 08 Jul 2024 16:15:33 +0700
parents 90bf0cab1d02
children 82feceae80b1
line wrap: on
line diff
--- a/test1.nim	Mon Jul 08 16:05:06 2024 +0700
+++ b/test1.nim	Mon Jul 08 16:15:33 2024 +0700
@@ -113,7 +113,7 @@
   createInfo = VkCommandPoolCreateInfo(
     sType: VK_STRUCTURE_TYPE_COMMAND_POOL_CREATE_INFO,
     flags: toBits [VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT],
-    queueFamilyIndex: vulkan.queueFamilyIndex,
+    queueFamilyIndex: vulkan.graphicsQueueFamily,
   )
 checkVkResult vkCreateCommandPool(vulkan.device, addr createInfo, nil, addr commandBufferPool)
 var