Merge pull request #7650 from fr500/upstream
restore old functionality till the change is done in other platforms
This commit is contained in:
commit
9f3efd03ea
|
@ -984,6 +984,14 @@ static bool video_driver_init_internal(bool *video_is_threaded)
|
|||
height = settings->uints.video_fullscreen_y;
|
||||
}
|
||||
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)
|
||||
{
|
||||
|
@ -995,6 +1003,7 @@ static bool video_driver_init_internal(bool *video_is_threaded)
|
|||
else
|
||||
width = roundf(geom->base_width * settings->floats.video_scale);
|
||||
height = roundf(geom->base_height * settings->floats.video_scale);
|
||||
}
|
||||
}
|
||||
|
||||
if (width && height)
|
||||
|
|
Loading…
Reference in New Issue