mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-28 02:26:16 +00:00
st/oxr: EGL extension requires OpenGL enabled
This commit is contained in:
parent
51c3240c23
commit
e49fdd8523
|
@ -15,7 +15,7 @@ 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_MND_egl_enable', 'XR_USE_PLATFORM_EGL', 'XR_USE_GRAPHICS_API_OPENGL'],
|
||||
['XR_MND_headless'],
|
||||
)
|
||||
|
||||
|
|
|
@ -81,7 +81,8 @@
|
|||
/*
|
||||
* XR_MND_egl_enable
|
||||
*/
|
||||
#if defined(XR_MND_egl_enable) && defined(XR_USE_PLATFORM_EGL)
|
||||
#if defined(XR_MND_egl_enable) && defined(XR_USE_PLATFORM_EGL) && \
|
||||
defined(XR_USE_GRAPHICS_API_OPENGL)
|
||||
#define OXR_HAVE_MND_egl_enable
|
||||
#define OXR_EXTENSION_SUPPORT_MND_egl_enable(_) \
|
||||
_(MND_egl_enable, MND_EGL_ENABLE)
|
||||
|
|
Loading…
Reference in a new issue