diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-11-02 00:01:55 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-11-02 00:22:56 +0300 |
commit | b68b6c367405b5d2cbd41965bcb71c3ffb4aabe0 (patch) | |
tree | 548805945cd8d3b49b0ec53ff006f8aaf6a8649e | |
parent | 6988dbac40b419742b6066fb73091863d4d61719 (diff) | |
download | manaplus-b68b6c367405b5d2cbd41965bcb71c3ffb4aabe0.tar.gz manaplus-b68b6c367405b5d2cbd41965bcb71c3ffb4aabe0.tar.bz2 manaplus-b68b6c367405b5d2cbd41965bcb71c3ffb4aabe0.tar.xz manaplus-b68b6c367405b5d2cbd41965bcb71c3ffb4aabe0.zip |
Really set maximum resolution on first start on Android.
-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); |