From 0a7f8a48a9161e16e1366d492655fd7df04f48a3 Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Mon, 26 Mar 2018 14:28:20 +0200 Subject: Destroy sounds that finished playing. --- src/main.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 3f60f25..ea0092d 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -69,6 +69,7 @@ int main() render.begin_frame(now, dt); render.render(&game); interface.render_to(&render); + audio::clean_sounds(); render.end_frame(); } -- cgit