From 8a1c74338ca0d74ff779c5c49383e7820839a0fc Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Mon, 6 Jul 2020 11:39:36 +0100 Subject: [PATCH] st/oxr: Make script be up to date to what's generated --- scripts/generate_oxr_ext_support.py | 3 ++- src/xrt/state_trackers/oxr/oxr_extension_support.h | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/generate_oxr_ext_support.py b/scripts/generate_oxr_ext_support.py index 5fe875f77..bf806656e 100755 --- a/scripts/generate_oxr_ext_support.py +++ b/scripts/generate_oxr_ext_support.py @@ -15,8 +15,9 @@ EXTENSIONS = ( ['XR_KHR_opengl_enable', 'XR_USE_GRAPHICS_API_OPENGL'], ['XR_KHR_opengl_es_enable', 'XR_USE_GRAPHICS_API_OPENGL_ES'], ['XR_KHR_vulkan_enable', 'XR_USE_GRAPHICS_API_VULKAN'], - ['XR_MND_egl_enable', 'XR_USE_PLATFORM_EGL', 'XR_USE_GRAPHICS_API_OPENGL'], + ['XR_MNDX_egl_enable', 'XR_USE_PLATFORM_EGL', 'XR_USE_GRAPHICS_API_OPENGL'], ['XR_MND_headless'], + ['XR_EXTX_overlay'], ) ROOT = Path(__file__).resolve().parent.parent diff --git a/src/xrt/state_trackers/oxr/oxr_extension_support.h b/src/xrt/state_trackers/oxr/oxr_extension_support.h index 0f8cd7974..5045c6827 100644 --- a/src/xrt/state_trackers/oxr/oxr_extension_support.h +++ b/src/xrt/state_trackers/oxr/oxr_extension_support.h @@ -79,7 +79,7 @@ /* - * XR_MNDS_egl_enable + * XR_MNDX_egl_enable */ #if defined(XR_MNDX_egl_enable) && defined(XR_USE_PLATFORM_EGL) && \ defined(XR_USE_GRAPHICS_API_OPENGL) @@ -101,6 +101,7 @@ #define OXR_EXTENSION_SUPPORT_MND_headless(_) #endif + /* * XR_EXTX_overlay */