From: Holger Schemel Date: Sat, 31 Oct 2020 22:50:46 +0000 (+0100) Subject: fixed bug with not setting grid size and buttons after screen changes X-Git-Tag: 4.2.0.4~2 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=9ce3068c74c473e845b9ee46f767bf5ffc891215;p=rocksndiamonds.git fixed bug with not setting grid size and buttons after screen changes --- diff --git a/src/libgame/sdl.c b/src/libgame/sdl.c index e005eb0e..a2fe9ab5 100644 --- a/src/libgame/sdl.c +++ b/src/libgame/sdl.c @@ -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)