mirror of
https://gitlab.com/dosowisko.net/libsuperderpy.git
synced 2025-02-01 02:56:43 +01:00
dosowisko: destroy all the things
This commit is contained in:
parent
3dc41101b3
commit
b746ecbebd
1 changed files with 4 additions and 0 deletions
|
@ -201,6 +201,10 @@ void Gamestate_Unload(struct Game *game, struct dosowiskoResources* data) {
|
|||
al_destroy_font(data->font);
|
||||
al_destroy_sample_instance(data->sound);
|
||||
al_destroy_sample(data->sample);
|
||||
al_destroy_sample_instance(data->kbd);
|
||||
al_destroy_sample(data->kbd_sample);
|
||||
al_destroy_bitmap(data->bitmap);
|
||||
al_destroy_bitmap(data->checkerboard);
|
||||
free(data);
|
||||
TM_Destroy();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue