diff options
Diffstat (limited to 'platform/windows/SCsub')
-rw-r--r-- | platform/windows/SCsub | 6 |
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) |