Update to VK_HEADER_VERSION 172.

This commit is contained in:
asuessenbach
2021-03-09 09:13:32 +01:00
parent 2e66b9101a
commit 3a776dd1d8
3 changed files with 8 additions and 3 deletions

View File

@@ -119,7 +119,12 @@ namespace vk
vk::DeviceCreateInfo deviceCreateInfo( {}, deviceQueueCreateInfo, {}, enabledExtensions, physicalDeviceFeatures );
deviceCreateInfo.pNext = pNext;
return physicalDevice.createDevice( deviceCreateInfo );
vk::Device device = physicalDevice.createDevice( deviceCreateInfo );
#if ( VULKAN_HPP_DISPATCH_LOADER_DYNAMIC == 1 )
// initialize function pointers for instance
VULKAN_HPP_DEFAULT_DISPATCHER.init( device );
#endif
return device;
}
std::vector<vk::Framebuffer> createFramebuffers( vk::Device const & device,