diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/defaults.cpp | 5 |
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); |