Skip to content

Commit 41af963

Browse files
M2-TEcharles-lunarg
authored andcommitted
use vk-hpp func for version
1 parent b939092 commit 41af963

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/vk_hpp.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*/
88
#include <vulkan/vulkan.hpp>
99

10-
int header_version()
10+
int test_version()
1111
{
12-
return VK_HEADER_VERSION;
12+
return static_cast<int>(vk::makeApiVersion(1, 0, 0, 0));
1313
}

0 commit comments

Comments
 (0)