1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-12 13:20:55 +00:00

Fix OpenXR module failing to build on Linux when Wayland is disabled

This commit is contained in:
Juan Pablo Arce
2024-10-27 14:03:03 -03:00
parent 61accf0605
commit 1803fe0cd5
2 changed files with 3 additions and 3 deletions

View File

@@ -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;