Forgot an important part of the VkDeviceCreateInfo structure
This commit is contained in:
@@ -12,4 +12,4 @@ test: VulkanTest
|
||||
clean:
|
||||
rm -f VulkanTest
|
||||
# For information on Makefile's check
|
||||
# https://makefiletutorial.com
|
||||
# https://makefiletutorial.com
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user