mirror of
https://github.com/IllusionMan1212/O2048.git
synced 2026-10-24 10:12:37 +00:00
zephr/game: fix few memory leaks (and introduced a big one). spawn particles when tiles merge
This commit is contained in:
@@ -671,6 +671,8 @@ init :: proc(font_path: cstring, icon_path: cstring, window_title: cstring, wind
|
||||
|
||||
deinit :: proc() {
|
||||
backend_shutdown()
|
||||
queue.destroy(&zephr_ctx.event_queue)
|
||||
delete(zephr_ctx.ui.elements)
|
||||
//audio_close()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user