mirror of
https://gitlab.com/dosowisko.net/libsuperderpy.git
synced 2025-02-01 11:06:44 +01:00
fix bitmap leakage in intro view
This commit is contained in:
parent
075934337d
commit
535f5abc94
1 changed files with 1 additions and 0 deletions
|
@ -76,6 +76,7 @@ void FillPage(struct Game *game, int page) {
|
||||||
al_set_target_bitmap(game->intro.table);
|
al_set_target_bitmap(game->intro.table);
|
||||||
al_draw_bitmap(second, al_get_display_width(game->display), 0, 0);
|
al_draw_bitmap(second, al_get_display_width(game->display), 0, 0);
|
||||||
al_set_target_bitmap(al_get_backbuffer(game->display));
|
al_set_target_bitmap(al_get_backbuffer(game->display));
|
||||||
|
al_destroy_bitmap(second);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Intro_Draw(struct Game *game) {
|
void Intro_Draw(struct Game *game) {
|
||||||
|
|
Loading…
Reference in a new issue