st/oxr: Update openxr extension support

This commit is contained in:
Daniel Willmott 2022-09-09 00:23:32 +01:00 committed by Moses Turner
parent 331f41d22e
commit 3c8e738e77
2 changed files with 14 additions and 1 deletions

View file

@ -37,6 +37,7 @@ EXTENSIONS = (
['XR_EXTX_overlay'],
['XR_MNDX_ball_on_a_stick_controller'],
['XR_MNDX_egl_enable', 'XR_USE_PLATFORM_EGL', 'XR_USE_GRAPHICS_API_OPENGL'],
['XR_MNDX_force_feedback_curl'],
)
ROOT = Path(__file__).resolve().parent.parent

View file

@ -324,6 +324,17 @@
#define OXR_EXTENSION_SUPPORT_MNDX_egl_enable(_)
#endif
/*
* XR_MNDX_force_feedback_curl
*/
#if defined(XR_MNDX_force_feedback_curl)
#define OXR_HAVE_MNDX_force_feedback_curl
#define OXR_EXTENSION_SUPPORT_MNDX_force_feedback_curl(_) _(MNDX_force_feedback_curl, MNDX_FORCE_FEEDBACK_CURL)
#else
#define OXR_EXTENSION_SUPPORT_MNDX_force_feedback_curl(_)
#endif
// end of GENERATED per-extension defines - do not modify - used by scripts
/*!
@ -374,5 +385,6 @@
OXR_EXTENSION_SUPPORT_MND_swapchain_usage_input_attachment_bit(_) \
OXR_EXTENSION_SUPPORT_EXTX_overlay(_) \
OXR_EXTENSION_SUPPORT_MNDX_ball_on_a_stick_controller(_) \
OXR_EXTENSION_SUPPORT_MNDX_egl_enable(_)
OXR_EXTENSION_SUPPORT_MNDX_egl_enable(_) \
OXR_EXTENSION_SUPPORT_MNDX_force_feedback_curl(_)
// clang-format on