From 2333087c273b4bbc057fbc5643dff9dd27d5e5fc Mon Sep 17 00:00:00 2001 From: Misa Date: Sat, 2 May 2020 14:56:14 -0700 Subject: [PATCH] Remove duplicate -renderer option Guess this was here from when Leo added command-line playtesting. --- desktop_version/src/main.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/desktop_version/src/main.cpp b/desktop_version/src/main.cpp index 93354e2e..c04ff99d 100644 --- a/desktop_version/src/main.cpp +++ b/desktop_version/src/main.cpp @@ -103,9 +103,6 @@ int main(int argc, char *argv[]) return 1; } } - if (std::string(argv[i]) == "-renderer") { - SDL_SetHintWithPriority(SDL_HINT_RENDER_DRIVER, argv[2], SDL_HINT_OVERRIDE); - } } SDL_SetHintWithPriority(SDL_HINT_RENDER_VSYNC, "1", SDL_HINT_OVERRIDE);