summaryrefslogtreecommitdiff
path: root/src/defaults.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-09-11 19:58:07 +0300
committerAndrei Karas <akaras@inbox.ru>2017-09-11 23:36:49 +0300
commitb6bf8e607146202b82b7943147fc5a99d4c46a60 (patch)
tree0465526af0ebefee944382af2869f08bfbcc7c94 /src/defaults.cpp
parentdbf65ef9c85f1b1b93fc9666bda31c5e5171b8c7 (diff)
downloadplus-b6bf8e607146202b82b7943147fc5a99d4c46a60.tar.gz
plus-b6bf8e607146202b82b7943147fc5a99d4c46a60.tar.bz2
plus-b6bf8e607146202b82b7943147fc5a99d4c46a60.tar.xz
plus-b6bf8e607146202b82b7943147fc5a99d4c46a60.zip
Add option to set sdl logging level.
Only for SDL2.
Diffstat (limited to 'src/defaults.cpp')
-rw-r--r--src/defaults.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/defaults.cpp b/src/defaults.cpp
index 5df7ab80e..4406b7c40 100644
--- a/src/defaults.cpp
+++ b/src/defaults.cpp
@@ -310,6 +310,7 @@ void setConfigDefaults(Configuration &cfg)
AddDEF("repeateDelay", 500);
AddDEF("repeateInterval", 30);
AddDEF("repeateInterval2", 500);
+ AddDEF("sdlLogLevel", 0);
#else // USE_SDL2
AddDEF("repeateDelay", SDL_DEFAULT_REPEAT_DELAY);