You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Use "volk" instead of statically linked Vulkan loader.
This commit is contained in:
@@ -278,10 +278,8 @@ def configure_msvc(env, manual_msvc_config):
|
||||
]
|
||||
|
||||
env.AppendUnique(CPPDEFINES=["VULKAN_ENABLED"])
|
||||
if not env["builtin_vulkan"]:
|
||||
if not env["use_volk"]:
|
||||
LIBS += ["vulkan"]
|
||||
else:
|
||||
LIBS += ["cfgmgr32"]
|
||||
|
||||
# env.AppendUnique(CPPDEFINES = ['OPENGL_ENABLED'])
|
||||
LIBS += ["opengl32"]
|
||||
@@ -456,10 +454,8 @@ def configure_mingw(env):
|
||||
)
|
||||
|
||||
env.Append(CPPDEFINES=["VULKAN_ENABLED"])
|
||||
if not env["builtin_vulkan"]:
|
||||
if not env["use_volk"]:
|
||||
env.Append(LIBS=["vulkan"])
|
||||
else:
|
||||
env.Append(LIBS=["cfgmgr32"])
|
||||
|
||||
## TODO !!! Re-enable when OpenGLES Rendering Device is implemented !!!
|
||||
# env.Append(CPPDEFINES=['OPENGL_ENABLED'])
|
||||
|
||||
Reference in New Issue
Block a user