From eb48be51dbe97aa4fbbbe0d0ebd8a98bee6b263e Mon Sep 17 00:00:00 2001 From: bruvzg <7645683+bruvzg@users.noreply.github.com> Date: Sat, 22 Jun 2019 19:34:26 +0300 Subject: Add static Vulkan loader. Initial Vulkan support for Windows. Initial Vulkan support for macOS. --- platform/windows/SCsub | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'platform/windows/SCsub') 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) -- cgit v1.2.3