projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ede483
)
fixed bug with not setting grid size and buttons after screen changes
author
Holger Schemel
<info@artsoft.org>
Sat, 31 Oct 2020 22:50:46 +0000
(23:50 +0100)
committer
Holger Schemel
<info@artsoft.org>
Sat, 31 Oct 2020 22:50:46 +0000
(23:50 +0100)
src/libgame/sdl.c
patch
|
blob
|
history
diff --git
a/src/libgame/sdl.c
b/src/libgame/sdl.c
index e005eb0ef829b69d85053b2da460c440c3499b76..a2fe9ab5b3bc3ebf5bfdf3d2a009e09b1ce2d6b4 100644
(file)
--- 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)