OpenXR: Fix building with Wayland support and opengl3=no
This commit is contained in:
parent
931820d33c
commit
dc380f8915
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ elif env["platform"] == "linuxbsd":
|
|||
if env["x11"]:
|
||||
env_openxr.AppendUnique(CPPDEFINES=["XR_USE_PLATFORM_XLIB"])
|
||||
|
||||
if env["wayland"]:
|
||||
if env["wayland"] and env["opengl3"]:
|
||||
env_openxr.AppendUnique(CPPDEFINES=["XR_USE_PLATFORM_EGL"])
|
||||
|
||||
# FIXME: Review what needs to be set for Android and macOS.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue