fixed bug with not setting grid size and buttons after screen changes
authorHolger Schemel <info@artsoft.org>
Sat, 31 Oct 2020 22:50:46 +0000 (23:50 +0100)
committerHolger Schemel <info@artsoft.org>
Sat, 31 Oct 2020 22:50:46 +0000 (23:50 +0100)
src/libgame/sdl.c

index e005eb0ef829b69d85053b2da460c440c3499b76..a2fe9ab5b3bc3ebf5bfdf3d2a009e09b1ce2d6b4 100644 (file)
@@ -876,6 +876,8 @@ void SDLSetScreenProperties(void)
   SDLSetDisplaySize();
   SDLSetScreenSizeAndOffsets(video.width, video.height);
   SDLSetScreenSizeForRenderer(video.screen_width, video.screen_height);
+
+  SetOverlayGridSizeAndButtons();
 }
 
 void SDLSetScreenRenderingMode(char *screen_rendering_mode)