mirror of
https://github.com/libretro/RetroArch
synced 2025-01-31 15:32:59 +00:00
Merge pull request #7659 from fr500/upstream
only apply fixed window size when the setting is enabled
This commit is contained in:
commit
1acad3522e
@ -986,7 +986,8 @@ static bool video_driver_init_internal(bool *video_is_threaded)
|
||||
else
|
||||
{
|
||||
/* To-Do: remove when the new window resizing core is hooked */
|
||||
if (settings->uints.window_position_width || settings->uints.window_position_height)
|
||||
if (settings->bools.video_window_save_positions &&
|
||||
(settings->uints.window_position_width || settings->uints.window_position_height))
|
||||
{
|
||||
width = settings->uints.window_position_width;
|
||||
height = settings->uints.window_position_height;
|
||||
|
Loading…
x
Reference in New Issue
Block a user