summaryrefslogtreecommitdiffhomepage
path: root/src/wall.c
diff options
context:
space:
mode:
authorarngo <[email protected]>2023-05-30 20:00:20 -0400
committerarngo <[email protected]>2023-05-30 20:00:20 -0400
commit5d1931537edb60b48538b714944eca7ce5db2739 (patch)
tree792a12f113ed456f33fc6cb5766898935d047fbf /src/wall.c
parent3c6a193ccdbadaf3f512a2770d3b35970c39980f (diff)
downloadrodeo_sample_game-5d1931537edb60b48538b714944eca7ce5db2739.tar.gz
rodeo_sample_game-5d1931537edb60b48538b714944eca7ce5db2739.zip
complete deinit functions
Diffstat (limited to 'src/wall.c')
-rw-r--r--src/wall.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wall.c b/src/wall.c
index 26849ba..91d2e65 100644
--- a/src/wall.c
+++ b/src/wall.c
@@ -47,6 +47,10 @@ void
deinit_wall(void)
{
rodeo_collision_2d_world_destroy(&collision_wall_world);
+ rodeo_texture_2d_destroy(&wall_texture);
+ rodeo_texture_2d_destroy(&floor_texture);
+ rodeo_texture_2d_destroy(&goat_texture);
+ rodeo_texture_2d_destroy(&logo_texture);
}
rodeo_collision_2d_world_t *