Show only native resolution in settings on android.

Changing resolution is atm. not available, so adding 1024x768 doesn't have a sense.
This commit is contained in:
Deve 2017-07-06 23:18:43 +02:00
parent 9b7f3d70dd
commit 6fc285b794

View File

@ -313,6 +313,7 @@ void OptionsScreenVideo::init()
}
}
#ifndef ANDROID
if (!found_config_res)
{
r.width = UserConfigParams::m_width;
@ -332,6 +333,7 @@ void OptionsScreenVideo::init()
r.height = 768;
resolutions.push_back(r);
}
#endif
// Sort resolutions by size
std::sort(resolutions.begin(), resolutions.end());