restore old functionality till the change is done in other platforms

This commit is contained in:
radius 2018-11-25 17:24:54 -05:00
parent 665be01b6b
commit 1187df922a

View File

@ -984,6 +984,14 @@ static bool video_driver_init_internal(bool *video_is_threaded)
height = settings->uints.video_fullscreen_y; height = settings->uints.video_fullscreen_y;
} }
else else
{
/* To-Do: remove when the new window resizing core is hooked */
if (settings->uints.window_position_width || settings->uints.window_position_height)
{
width = settings->uints.window_position_width;
height = settings->uints.window_position_height;
}
else
{ {
if (settings->bools.video_force_aspect) if (settings->bools.video_force_aspect)
{ {
@ -995,6 +1003,7 @@ static bool video_driver_init_internal(bool *video_is_threaded)
else else
width = roundf(geom->base_width * settings->floats.video_scale); width = roundf(geom->base_width * settings->floats.video_scale);
height = roundf(geom->base_height * settings->floats.video_scale); height = roundf(geom->base_height * settings->floats.video_scale);
}
} }
if (width && height) if (width && height)