Merge pull request #107159 from akien-mga/openxr-1.1.48

openxr: Update to 1.1.48
This commit is contained in:
Thaddeus Crews
2025-06-09 12:31:29 -05:00
8 changed files with 343 additions and 68 deletions

View File

@@ -28,7 +28,8 @@ elif env["platform"] == "linuxbsd":
env_openxr.AppendUnique(CPPDEFINES=["XR_USE_PLATFORM_XLIB"])
if env["wayland"] and env["opengl3"]:
env_openxr.AppendUnique(CPPDEFINES=["XR_USE_PLATFORM_EGL"])
env_openxr.AppendUnique(CPPDEFINES=["XR_USE_PLATFORM_EGL", "XRDEPENDENCIES_USE_GLAD"])
env_openxr.Prepend(CPPEXTPATH=["#thirdparty/glad"])
# FIXME: Review what needs to be set for Android and macOS.
# FreeBSD uses non-standard getenv functions.