From 78275161e08df050d3439f16ef88de8e421c6f8b Mon Sep 17 00:00:00 2001 From: Omniscient <17525998+omnisci3nce@users.noreply.github.com> Date: Fri, 10 May 2024 13:36:03 +1000 Subject: initiate scene when bringing up core --- src/core.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/core.c') diff --git a/src/core.c b/src/core.c index 3596e01..17424b3 100644 --- a/src/core.c +++ b/src/core.c @@ -8,6 +8,7 @@ #include "log.h" #include "render.h" #include "render_types.h" +#include "scene.h" // #include "threadpool.h" #define SCR_WIDTH 1000 @@ -51,7 +52,8 @@ void core_bringup() { } */ - g_core.models = model_darray_new(10); + INFO("Creating default scene"); + scene_init(&g_core.default_scene); } #include -- cgit v1.2.3-70-g09d2