diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-28 19:42:17 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-28 23:13:01 +0300 |
commit | a5922daffebf5d78936cf248a7a6a8bfc86c026c (patch) | |
tree | 97b30d52dd6071942259a3fddbe2b2f5f727594f /src/gui | |
parent | d0832a59dad69f72b514b87e380017ad3f14dfc6 (diff) | |
download | plus-a5922daffebf5d78936cf248a7a6a8bfc86c026c.tar.gz plus-a5922daffebf5d78936cf248a7a6a8bfc86c026c.tar.bz2 plus-a5922daffebf5d78936cf248a7a6a8bfc86c026c.tar.xz plus-a5922daffebf5d78936cf248a7a6a8bfc86c026c.zip |
Done select always best resolution under Android.
Select it only if current resolution incorrect.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/setup_video.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/setup_video.cpp b/src/gui/setup_video.cpp index 0188eb6b7..cb3514459 100644 --- a/src/gui/setup_video.cpp +++ b/src/gui/setup_video.cpp @@ -133,6 +133,7 @@ static bool modeSorter(std::string mode1, std::string mode2) ModeListModel::ModeListModel() { graphicsManager.getAllVideoModes(mVideoModes); +#ifndef ANDROID addCustomMode("640x480"); addCustomMode("800x600"); addCustomMode("1024x768"); @@ -144,6 +145,7 @@ ModeListModel::ModeListModel() std::sort(mVideoModes.begin(), mVideoModes.end(), modeSorter); mVideoModes.push_back("custom"); +#endif } void ModeListModel::addCustomMode(std::string mode) |