summaryrefslogtreecommitdiff
path: root/src/defaults.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/defaults.cpp')
-rw-r--r--src/defaults.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/defaults.cpp b/src/defaults.cpp
index 77c7f04af..8411b06da 100644
--- a/src/defaults.cpp
+++ b/src/defaults.cpp
@@ -104,8 +104,13 @@ DefaultsData* getConfigDefaults()
AddDEF("particleeffects", true);
AddDEF("logToStandardOut", false);
AddDEF("opengl", 0);
+#ifdef ANDROID
+ AddDEF("screenwidth", 0);
+ AddDEF("screenheight", 0);
+#else
AddDEF("screenwidth", defaultScreenWidth);
AddDEF("screenheight", defaultScreenHeight);
+#endif
AddDEF("screen", false);
AddDEF("hwaccel", false);
AddDEF("sound", false);