Skip to content

Commit

Permalink
Call retro_set_geometry_runtime when width OR height has changed
Browse files Browse the repository at this point in the history
  • Loading branch information
dmrlawson committed Jun 26, 2020
1 parent 2399647 commit 92a2e95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libretro/libretro.c
Original file line number Diff line number Diff line change
Expand Up @@ -1646,7 +1646,7 @@ void retro_run (void)
glsm_ctl(GLSM_CTL_STATE_UNBIND, NULL);
}

if(last_vi_height != last_retro_screen_height && last_vi_width != last_retro_screen_width)
if(last_vi_height != last_retro_screen_height || last_vi_width != last_retro_screen_width)
{
last_retro_screen_height = last_vi_height;
last_retro_screen_width = last_vi_width;
Expand Down

0 comments on commit 92a2e95

Please sign in to comment.