use vk-hpp func for version
This commit is contained in:
parent
b9390925ea
commit
41af963e42
1 changed files with 2 additions and 2 deletions
|
|
@ -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));
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue