From a5922daffebf5d78936cf248a7a6a8bfc86c026c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 28 Oct 2012 19:42:17 +0300 Subject: Done select always best resolution under Android. Select it only if current resolution incorrect. --- src/gui/setup_video.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gui/setup_video.cpp') 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) -- cgit v1.2.3-60-g2f50