Android Vulkan header VK_MAKE_API_VERSION not defined
Closed this issue · 2 comments
AndrewRichards-Code commented
For Android, we currently using this version of the Android NDK.
Unfortunately, VK_MAKE_API_VERSION
is not defined in this version of the Vulkan headers. As a workaround, I have defined VK_MAKE_API_VERSION
to wrap over VK_MAKE_VERSION
.
OpenXR-Tutorials/Common/GraphicsAPI_Vulkan.cpp
Lines 14 to 16 in e12b2ad
Is this workaround suitable or bad practice?
I haven't checked, but do later versions of the NDK have newer Vulkan headers that have the VK_MAKE_API_VERSION
macro?
If so, do we want to upgrade our NDK version for the tutorial?
rbessems commented
LGTM
AndrewRichards-Code commented
Ok, closing issue.