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:
parent
9b7f3d70dd
commit
6fc285b794
@ -313,6 +313,7 @@ void OptionsScreenVideo::init()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef ANDROID
|
||||||
if (!found_config_res)
|
if (!found_config_res)
|
||||||
{
|
{
|
||||||
r.width = UserConfigParams::m_width;
|
r.width = UserConfigParams::m_width;
|
||||||
@ -332,6 +333,7 @@ void OptionsScreenVideo::init()
|
|||||||
r.height = 768;
|
r.height = 768;
|
||||||
resolutions.push_back(r);
|
resolutions.push_back(r);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
// Sort resolutions by size
|
// Sort resolutions by size
|
||||||
std::sort(resolutions.begin(), resolutions.end());
|
std::sort(resolutions.begin(), resolutions.end());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user