diff --git a/Hello_triangle/Makefile b/Hello_triangle/Makefile index 2e84e5f..9917694 100644 --- a/Hello_triangle/Makefile +++ b/Hello_triangle/Makefile @@ -12,4 +12,4 @@ test: VulkanTest clean: rm -f VulkanTest # For information on Makefile's check -# https://makefiletutorial.com +# https://makefiletutorial.com \ No newline at end of file diff --git a/Hello_triangle/main.cpp b/Hello_triangle/main.cpp index 8513e1d..4112365 100644 --- a/Hello_triangle/main.cpp +++ b/Hello_triangle/main.cpp @@ -81,6 +81,7 @@ class HelloTriangleApplication{ VkDeviceCreateInfo createInfo{}; createInfo.sType = VK_STRUCTURE_TYPE_DEVICE_CREATE_INFO; + createInfo.pQueueCreateInfos = &queueCreateInfo; createInfo.queueCreateInfoCount = 1; createInfo.pEnabledFeatures = &deviceFeatures;