Skip to content

Commit 4c29e5a

Browse files
committed
Call retro_set_geometry_runtime when width OR height has changed
1 parent 112d7a0 commit 4c29e5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libretro/libretro.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1663,7 +1663,7 @@ void retro_run (void)
16631663
glsm_ctl(GLSM_CTL_STATE_UNBIND, NULL);
16641664
}
16651665

1666-
if(last_vi_height != last_retro_screen_height && last_vi_width != last_retro_screen_width)
1666+
if(last_vi_height != last_retro_screen_height || last_vi_width != last_retro_screen_width)
16671667
{
16681668
last_retro_screen_height = last_vi_height;
16691669
last_retro_screen_width = last_vi_width;

0 commit comments

Comments
 (0)