From 4c29e5a12d4445b02f44ad26d8e192287429d379 Mon Sep 17 00:00:00 2001 From: David Lawson Date: Fri, 26 Jun 2020 07:45:03 +0100 Subject: [PATCH] Call retro_set_geometry_runtime when width OR height has changed --- libretro/libretro.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libretro/libretro.c b/libretro/libretro.c index d0f61417e..2b2145ef5 100644 --- a/libretro/libretro.c +++ b/libretro/libretro.c @@ -1663,7 +1663,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;