Always show current reolution in options
This commit is contained in:
parent
dc428b94cf
commit
0c5b1a3999
@ -186,6 +186,9 @@ void CIrrDeviceAndroid::createVideoModeList()
|
||||
|
||||
int width = ANativeWindow_getWidth(Android->window);
|
||||
int height = ANativeWindow_getHeight(Android->window);
|
||||
|
||||
os::Printer::log("Window width:", core::stringc(width).c_str(), ELL_DEBUG);
|
||||
os::Printer::log("Window height:", core::stringc(height).c_str(), ELL_DEBUG);
|
||||
|
||||
if (width > 0 && height > 0)
|
||||
{
|
||||
|
@ -274,7 +274,6 @@ void OptionsScreenVideo::init()
|
||||
}
|
||||
}
|
||||
|
||||
#ifndef ANDROID
|
||||
if (!found_config_res)
|
||||
{
|
||||
r.width = UserConfigParams::m_width;
|
||||
@ -291,6 +290,7 @@ void OptionsScreenVideo::init()
|
||||
}
|
||||
} // next found resolution
|
||||
|
||||
#ifndef ANDROID
|
||||
// Add default resolutions that were not found by irrlicht
|
||||
if (!found_1024_768)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user