From c84f528325a7edf0f808d081106d3ff6a196cb8a Mon Sep 17 00:00:00 2001 From: 3gg <3gg@shellblade.net> Date: Sat, 7 Jan 2023 18:42:48 -0800 Subject: Destroy all scene and scene elements upon termination. --- gltfview/src/game.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'gltfview') diff --git a/gltfview/src/game.c b/gltfview/src/game.c index 93755e7..612ec67 100644 --- a/gltfview/src/game.c +++ b/gltfview/src/game.c @@ -218,9 +218,6 @@ bool game_new(Game* game, int argc, const char** argv) { cleanup: LOGE("Gfx error: %s", gfx_get_error()); - if (game->scene) { - gfx_destroy_scene(game->gfx, &game->scene); - } if (game->gfx) { gfx_destroy(&game->gfx); } -- cgit v1.2.3