mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 18:11:13 +00:00
Add RD_ENABLED when VULKAN_ENABLED or D3D12_ENABLED is added
This commit is contained in:
parent
9d1cbab1c4
commit
078bfae6a4
7 changed files with 8 additions and 12 deletions
|
|
@ -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"])
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue