mirror of
https://github.com/charles-lunarg/vk-bootstrap.git
synced 2024-11-26 00:34:35 +00:00
Fix version macro not selecting VK_MAKE_VERSION
The version macro selector was looking for the constant VK_API_VERSION instead of the correct macro VK_MAKE_VERSION. Replaced the preprocessors accordingly.
This commit is contained in:
parent
b87fcf2da2
commit
b1b121efe0
@ -29,8 +29,8 @@
|
|||||||
|
|
||||||
#ifdef VK_MAKE_API_VERSION
|
#ifdef VK_MAKE_API_VERSION
|
||||||
#define VKB_MAKE_VK_VERSION(variant, major, minor, patch) VK_MAKE_API_VERSION(variant, major, minor, patch)
|
#define VKB_MAKE_VK_VERSION(variant, major, minor, patch) VK_MAKE_API_VERSION(variant, major, minor, patch)
|
||||||
#elif VK_API_VERSION
|
#elif defined(VK_MAKE_VERSION)
|
||||||
#define VKB_MAKE_VK_VERSION(variant, major, minor, patch) VK_API_VERSION(major, minor, patch)
|
#define VKB_MAKE_VK_VERSION(variant, major, minor, patch) VK_MAKE_VERSION(major, minor, patch)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(VK_API_VERSION_1_3) || defined(VK_VERSION_1_3)
|
#if defined(VK_API_VERSION_1_3) || defined(VK_VERSION_1_3)
|
||||||
|
Loading…
Reference in New Issue
Block a user