summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-11-02 00:01:55 +0300
committerAndrei Karas <akaras@inbox.ru>2012-11-02 00:22:56 +0300
commitb68b6c367405b5d2cbd41965bcb71c3ffb4aabe0 (patch)
tree548805945cd8d3b49b0ec53ff006f8aaf6a8649e
parent6988dbac40b419742b6066fb73091863d4d61719 (diff)
downloadmv-b68b6c367405b5d2cbd41965bcb71c3ffb4aabe0.tar.gz
mv-b68b6c367405b5d2cbd41965bcb71c3ffb4aabe0.tar.bz2
mv-b68b6c367405b5d2cbd41965bcb71c3ffb4aabe0.tar.xz
mv-b68b6c367405b5d2cbd41965bcb71c3ffb4aabe0.zip
Really set maximum resolution on first start on Android.
-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);