summaryrefslogtreecommitdiffstats
path: root/platform/android/detect.py
diff options
context:
space:
mode:
authorjsjtxietian <jsjtxietian@outlook.com>2023-12-22 20:49:29 +0800
committerjsjtxietian <jsjtxietian@outlook.com>2023-12-25 11:13:01 +0800
commit078bfae6a468fda8b55cc7d61aba1721cb45723f (patch)
tree037c3899001b8233d82bc4d351cae7939a7f174f /platform/android/detect.py
parent9d1cbab1c432b6f1d66ec939445bec68b6af519e (diff)
downloadredot-engine-078bfae6a468fda8b55cc7d61aba1721cb45723f.tar.gz
Add RD_ENABLED when VULKAN_ENABLED or D3D12_ENABLED is added
Diffstat (limited to 'platform/android/detect.py')
-rw-r--r--platform/android/detect.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/android/detect.py b/platform/android/detect.py
index a417ef454b..b396e5eb2d 100644
--- a/platform/android/detect.py
+++ b/platform/android/detect.py
@@ -200,7 +200,7 @@ def configure(env: "Environment"):
env.Append(LIBS=["OpenSLES", "EGL", "android", "log", "z", "dl"])
if env["vulkan"]:
- env.Append(CPPDEFINES=["VULKAN_ENABLED"])
+ env.Append(CPPDEFINES=["VULKAN_ENABLED", "RD_ENABLED"])
if not env["use_volk"]:
env.Append(LIBS=["vulkan"])