summaryrefslogtreecommitdiff
path: root/platform/windows/SCsub
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2019-06-22 19:34:26 +0300
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2020-02-11 11:57:11 +0100
commiteb48be51dbe97aa4fbbbe0d0ebd8a98bee6b263e (patch)
tree9a5b6bfd50e7ddb5b348c97bd60d30b290d27d49 /platform/windows/SCsub
parent4fe3ee1730167b90ec8ae70c871c1dad032981d5 (diff)
Add static Vulkan loader.
Initial Vulkan support for Windows. Initial Vulkan support for macOS.
Diffstat (limited to 'platform/windows/SCsub')
-rw-r--r--platform/windows/SCsub6
1 files changed, 5 insertions, 1 deletions
diff --git a/platform/windows/SCsub b/platform/windows/SCsub
index 892d734734..cde8c3d480 100644
--- a/platform/windows/SCsub
+++ b/platform/windows/SCsub
@@ -8,7 +8,6 @@ import platform_windows_builders
common_win = [
"godot_windows.cpp",
- "context_gl_windows.cpp",
"crash_handler_windows.cpp",
"os_windows.cpp",
"key_mapping_windows.cpp",
@@ -17,6 +16,11 @@ common_win = [
"windows_terminal_logger.cpp"
]
+if (env["renderer"] == "vulkan"):
+ common_win += ["vulkan_context_win.cpp"]
+else:
+ common_win += ["context_gl_windows.cpp"]
+
res_file = 'godot_res.rc'
res_target = "godot_res" + env["OBJSUFFIX"]
res_obj = env.RES(res_target, res_file)