mirror of
https://github.com/KhronosGroup/Vulkan-Headers.git
synced 2025-04-10 14:51:30 +00:00
use vk-hpp func for version
This commit is contained in:
parent
bcb11a67a8
commit
3073a9a911
1 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@
|
|||
*/
|
||||
#include <vulkan/vulkan.hpp>
|
||||
|
||||
int header_version()
|
||||
int test_version()
|
||||
{
|
||||
return VK_HEADER_VERSION;
|
||||
return static_cast<int>(vk::makeApiVersion(1, 0, 0, 0));
|
||||
}
|
Loading…
Add table
Reference in a new issue