mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 00:13:30 +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
|
@ -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"]:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue