summaryrefslogtreecommitdiff
path: root/src/defaults.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/defaults.cpp')
-rw-r--r--src/defaults.cpp2
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);