diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-08-21 14:37:03 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-08-24 21:08:14 +0300 |
commit | ec1beaa2ee07368368e9bd45fe400eedc57419eb (patch) | |
tree | c8f4792dc2316c7cc852bcf6738dff7557d9b872 /src/defaults.cpp | |
parent | 8d4af08b165e10d7e82380074ce733ee9d068c6a (diff) | |
download | ManaVerse-ec1beaa2ee07368368e9bd45fe400eedc57419eb.tar.gz ManaVerse-ec1beaa2ee07368368e9bd45fe400eedc57419eb.tar.bz2 ManaVerse-ec1beaa2ee07368368e9bd45fe400eedc57419eb.tar.xz ManaVerse-ec1beaa2ee07368368e9bd45fe400eedc57419eb.zip |
first part of fixes for compilation with SDL2
Diffstat (limited to 'src/defaults.cpp')
-rw-r--r-- | src/defaults.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/defaults.cpp b/src/defaults.cpp index b9a522bff..2aa3e8ad5 100644 --- a/src/defaults.cpp +++ b/src/defaults.cpp @@ -271,9 +271,11 @@ DefaultsData* getConfigDefaults() #endif AddDEF("audioFrequency", 22010); AddDEF("audioChannels", 2); +#ifndef USE_SDL2 AddDEF("repeateDelay", SDL_DEFAULT_REPEAT_DELAY); AddDEF("repeateInterval", SDL_DEFAULT_REPEAT_INTERVAL); AddDEF("repeateInterval2", SDL_DEFAULT_REPEAT_DELAY); +#endif AddDEF("compresstextures", 0); AddDEF("rectangulartextures", true); AddDEF("networksleep", 0); |