diff options
author | 3gg <3gg@shellblade.net> | 2023-06-02 12:03:07 -0700 |
---|---|---|
committer | 3gg <3gg@shellblade.net> | 2023-06-02 12:03:07 -0700 |
commit | 6ba8b628bf72c14372b70247e2f12df2bcd1c34e (patch) | |
tree | eb101a1fecf000b3c96d2aa614424866a6a6d8ef /gltfview/src | |
parent | 6887ef315e355e1a89b8b5d7a9d3345d2444aacd (diff) |
scene_memory refactor to make adding new types easier.
Diffstat (limited to 'gltfview/src')
-rw-r--r-- | gltfview/src/game.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gltfview/src/game.c b/gltfview/src/game.c index 20f33bb..9709ea5 100644 --- a/gltfview/src/game.c +++ b/gltfview/src/game.c | |||
@@ -194,7 +194,7 @@ bool game_new(Game* game, int argc, const char** argv) { | |||
194 | game->render_backend = gfx_get_render_backend(game->gfx); | 194 | game->render_backend = gfx_get_render_backend(game->gfx); |
195 | game->renderer = gfx_get_renderer(game->gfx); | 195 | game->renderer = gfx_get_renderer(game->gfx); |
196 | 196 | ||
197 | game->scene = gfx_make_scene(game->gfx); | 197 | game->scene = gfx_make_scene(); |
198 | if (!game->scene) { | 198 | if (!game->scene) { |
199 | goto cleanup; | 199 | goto cleanup; |
200 | } | 200 | } |