summaryrefslogtreecommitdiff
path: root/gltfview
diff options
context:
space:
mode:
Diffstat (limited to 'gltfview')
-rw-r--r--gltfview/src/game.c3
1 files changed, 0 insertions, 3 deletions
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) {
218 218
219cleanup: 219cleanup:
220 LOGE("Gfx error: %s", gfx_get_error()); 220 LOGE("Gfx error: %s", gfx_get_error());
221 if (game->scene) {
222 gfx_destroy_scene(game->gfx, &game->scene);
223 }
224 if (game->gfx) { 221 if (game->gfx) {
225 gfx_destroy(&game->gfx); 222 gfx_destroy(&game->gfx);
226 } 223 }