diff options
author | Thaddeus Crews <repiteo@outlook.com> | 2024-10-29 19:25:41 -0500 |
---|---|---|
committer | Thaddeus Crews <repiteo@outlook.com> | 2024-10-29 19:25:41 -0500 |
commit | 23f03a7cce23563ae7d9c86684f20727b3939ea6 (patch) | |
tree | 20ff1e09e869a78249b22e58f9d3674b9bc7795a /modules/openxr/extensions/platform/openxr_opengl_extension.h | |
parent | f8f9763c4abe1ca033f0b6f18a512ac895564f47 (diff) | |
parent | 1803fe0cd5101a2dd536385decc7b67be589d743 (diff) | |
download | redot-engine-23f03a7cce23563ae7d9c86684f20727b3939ea6.tar.gz |
Merge pull request #98589 from juanjp600/openxr-no-wayland-build-fix
Fix OpenXR module failing to build on Linux when Wayland is disabled
Diffstat (limited to 'modules/openxr/extensions/platform/openxr_opengl_extension.h')
-rw-r--r-- | modules/openxr/extensions/platform/openxr_opengl_extension.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/openxr/extensions/platform/openxr_opengl_extension.h b/modules/openxr/extensions/platform/openxr_opengl_extension.h index beb68e47e3..f4a73c667b 100644 --- a/modules/openxr/extensions/platform/openxr_opengl_extension.h +++ b/modules/openxr/extensions/platform/openxr_opengl_extension.h @@ -68,7 +68,7 @@ private: #ifdef X11_ENABLED static XrGraphicsBindingOpenGLXlibKHR graphics_binding_gl; #endif -#ifdef EGL_ENABLED +#if defined(EGL_ENABLED) && defined(WAYLAND_ENABLED) static XrGraphicsBindingEGLMNDX graphics_binding_egl; bool egl_extension_enabled = false; |