summaryrefslogtreecommitdiffstats
path: root/modules/openxr/SCsub
diff options
context:
space:
mode:
Diffstat (limited to 'modules/openxr/SCsub')
-rw-r--r--modules/openxr/SCsub2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/openxr/SCsub b/modules/openxr/SCsub
index dd6a921440..48c87bcd59 100644
--- a/modules/openxr/SCsub
+++ b/modules/openxr/SCsub
@@ -26,7 +26,7 @@ elif env["platform"] == "linuxbsd":
env_openxr.AppendUnique(CPPDEFINES=["XR_USE_PLATFORM_XLIB"])
if env["wayland"]:
- env_openxr.AppendUnique(CPPDEFINES=["XR_USE_PLATFORM_WAYLAND"])
+ env_openxr.AppendUnique(CPPDEFINES=["XR_USE_PLATFORM_EGL"])
# FIXME: Review what needs to be set for Android and macOS.
env_openxr.AppendUnique(CPPDEFINES=["HAVE_SECURE_GETENV"])