Skip to content

Commit d1d4d5f

Browse files
committed
Merge pull request #105711 from dsnopek/openxr-wayland-no-opengl
OpenXR: Fix building with Wayland support and `opengl3=no`
2 parents 8847e65 + dc380f8 commit d1d4d5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/openxr/SCsub

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ elif env["platform"] == "linuxbsd":
2727
if env["x11"]:
2828
env_openxr.AppendUnique(CPPDEFINES=["XR_USE_PLATFORM_XLIB"])
2929

30-
if env["wayland"]:
30+
if env["wayland"] and env["opengl3"]:
3131
env_openxr.AppendUnique(CPPDEFINES=["XR_USE_PLATFORM_EGL"])
3232

3333
# FIXME: Review what needs to be set for Android and macOS.

0 commit comments

Comments
 (0)