mirror of
https://gitlab.com/dosowisko.net/libsuperderpy.git
synced 2024-12-05 00:38:00 +01:00
DrawGamestates: Don't clear the screen when predraw handler is there
Leave that to the handler.
This commit is contained in:
parent
1e09583c7e
commit
8d614b2c20
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ SYMBOL_INTERNAL void DrawGamestates(struct Game* game) {
|
|||
game->_priv.loading.gamestate->api->predraw(game, game->_priv.loading.gamestate->data);
|
||||
}
|
||||
|
||||
if (!game->_priv.params.disable_bg_clear && !game->_priv.params.handlers.compositor) {
|
||||
if (!game->_priv.params.disable_bg_clear && !game->_priv.params.handlers.compositor && !game->_priv.params.handlers.predraw) {
|
||||
ClearScreen(game);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue