From ec1beaa2ee07368368e9bd45fe400eedc57419eb Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 21 Aug 2013 14:37:03 +0300 Subject: first part of fixes for compilation with SDL2 --- src/defaults.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/defaults.cpp') 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); -- cgit v1.2.3-70-g09d2