summaryrefslogtreecommitdiffstats
path: root/platform/linuxbsd/detect.py
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-01-02 15:09:05 +0100
committerRémi Verschelde <rverschelde@gmail.com>2024-01-02 15:09:05 +0100
commitf3df5f7d37eb0af7069e31243c8508293f6336b4 (patch)
tree0898c3da7c563059535d4fe07892e7efb0e4f9ac /platform/linuxbsd/detect.py
parent35d1ffb8dee4a3bde80167b8051885b2c44c26ae (diff)
parent078bfae6a468fda8b55cc7d61aba1721cb45723f (diff)
downloadredot-engine-f3df5f7d37eb0af7069e31243c8508293f6336b4.tar.gz
Merge pull request #86435 from jsjtxietian/fix-fp-unsupport
Add `RD_ENABLED` when `VULKAN_ENABLED` or `D3D12_ENABLED` is added
Diffstat (limited to 'platform/linuxbsd/detect.py')
-rw-r--r--platform/linuxbsd/detect.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/linuxbsd/detect.py b/platform/linuxbsd/detect.py
index 59cc6e7962..eaaaad82b9 100644
--- a/platform/linuxbsd/detect.py
+++ b/platform/linuxbsd/detect.py
@@ -434,7 +434,7 @@ def configure(env: "Environment"):
env.Append(CPPDEFINES=["X11_ENABLED"])
if env["vulkan"]:
- env.Append(CPPDEFINES=["VULKAN_ENABLED"])
+ env.Append(CPPDEFINES=["VULKAN_ENABLED", "RD_ENABLED"])
if not env["use_volk"]:
env.ParseConfig("pkg-config vulkan --cflags --libs")
if not env["builtin_glslang"]: