mirror of
https://gitlab.com/dosowisko.net/libsuperderpy.git
synced 2025-02-01 11:06:44 +01:00
fix memory leak in pause state
This commit is contained in:
parent
0bc45ea1af
commit
bf83ae80a0
1 changed files with 1 additions and 0 deletions
|
@ -59,6 +59,7 @@ void Pause_Load(struct Game* game) {
|
|||
al_set_target_bitmap(game->pause.bitmap);
|
||||
al_draw_bitmap(al_get_backbuffer(game->display), 0, 0, 0);
|
||||
al_set_target_bitmap(al_get_backbuffer(game->display));
|
||||
al_destroy_bitmap(fade);
|
||||
game->pause.selected=0;
|
||||
game->pause.options=0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue