From 75d5dfe591fbab37198446d5c892ef442835ca5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Fri, 2 Dec 2022 11:40:24 +0100 Subject: SCons: Disable openxr module with disable_3d=yes Fixes #69470. --- modules/openxr/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/openxr') diff --git a/modules/openxr/config.py b/modules/openxr/config.py index 279168cc59..e503f12739 100644 --- a/modules/openxr/config.py +++ b/modules/openxr/config.py @@ -1,6 +1,6 @@ def can_build(env, platform): if platform in ("linuxbsd", "windows", "android"): - return env["openxr"] + return env["openxr"] and not env["disable_3d"] else: # not supported on these platforms return False -- cgit v1.2.3