fixed drawing global animations when switching screens without fading
authorHolger Schemel <info@artsoft.org>
Mon, 13 Apr 2020 15:26:01 +0000 (17:26 +0200)
committerHolger Schemel <info@artsoft.org>
Tue, 19 May 2020 16:20:02 +0000 (18:20 +0200)
commitb844b9ff4b1c79c5789cdae0a90deacb88d0887a
treeebb5b922222a31e8313bed8f122580eaa457d736
parent411dffb336bdcdd487225bc78d82bb3bafa3016e
fixed drawing global animations when switching screens without fading

Before, when switching screens without fading (like leaving sub-menus
with default settings for screen fading, or screen changes after
pressing the "Escape" key), a single video frame was drawn without
global animations, which could cause flickering of animations.

With this fix, global animations will also be drawn for this video
frame.
src/libgame/sdl.c
src/tools.c