diff options
author | Filippos Karapetis | 2016-08-22 13:09:49 +0300 |
---|---|---|
committer | Filippos Karapetis | 2016-08-22 13:09:49 +0300 |
commit | c69eb82527c356a9a65b83ee724e614b74c1f782 (patch) | |
tree | 7d523c688e3cb6dcd39299c1534613ef0822544d /devtools/create_project | |
parent | f629a328199708de7c35eba32eb17b6f69586df4 (diff) | |
download | scummvm-rg350-c69eb82527c356a9a65b83ee724e614b74c1f782.tar.gz scummvm-rg350-c69eb82527c356a9a65b83ee724e614b74c1f782.tar.bz2 scummvm-rg350-c69eb82527c356a9a65b83ee724e614b74c1f782.zip |
CREATE_PROJECT: Switch SDL backend to SDL2 by default
This adapts create_project with the changes in de04a68c06
Diffstat (limited to 'devtools/create_project')
-rw-r--r-- | devtools/create_project/create_project.cpp | 6 | ||||
-rw-r--r-- | devtools/create_project/create_project.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/devtools/create_project/create_project.cpp b/devtools/create_project/create_project.cpp index 8841eaa73d..70781ffb55 100644 --- a/devtools/create_project/create_project.cpp +++ b/devtools/create_project/create_project.cpp @@ -284,8 +284,8 @@ int main(int argc, char *argv[]) { setup.devTools = true; } else if (!std::strcmp(argv[i], "--tests")) { setup.tests = true; - } else if (!std::strcmp(argv[i], "--sdl2")) { - setup.useSDL2 = true; + } else if (!std::strcmp(argv[i], "--sdl1")) { + setup.useSDL2 = false; } else { std::cerr << "ERROR: Unknown parameter \"" << argv[i] << "\"\n"; return -1; @@ -700,7 +700,7 @@ void displayHelp(const char *exe) { " --disable-<name> disable inclusion of the feature \"name\"\n" "\n" "SDL settings:\n" - " --sdl2 link to SDL 2.0, instead of SDL 1.2\n" + " --sdl1 link to SDL 1.2, instead of SDL 2.0\n" "\n" " There are the following features available:\n" "\n"; diff --git a/devtools/create_project/create_project.h b/devtools/create_project/create_project.h index 1e417d485b..bd0dcf6be9 100644 --- a/devtools/create_project/create_project.h +++ b/devtools/create_project/create_project.h @@ -239,7 +239,7 @@ struct BuildSetup { tests = false; runBuildEvents = false; createInstaller = false; - useSDL2 = false; + useSDL2 = true; } }; |