use vk-hpp func for version

This commit is contained in:
Jan Kuhlmann 2025-04-02 12:14:54 +02:00 committed by Charles Giessen
parent b9390925ea
commit 41af963e42

View file

@ -7,7 +7,7 @@
*/ */
#include <vulkan/vulkan.hpp> #include <vulkan/vulkan.hpp>
int header_version() int test_version()
{ {
return VK_HEADER_VERSION; return static_cast<int>(vk::makeApiVersion(1, 0, 0, 0));
} }