summaryrefslogtreecommitdiff
path: root/src/core.c
diff options
context:
space:
mode:
authorOmniscient <17525998+omnisci3nce@users.noreply.github.com>2024-05-10 13:36:03 +1000
committerOmniscient <17525998+omnisci3nce@users.noreply.github.com>2024-05-10 13:36:03 +1000
commit78275161e08df050d3439f16ef88de8e421c6f8b (patch)
tree1e344e9fe2e529a32d13e5077201d8ff006e8724 /src/core.c
parentf7944239b793d1d5c49336856965d3a793f99316 (diff)
initiate scene when bringing up core
Diffstat (limited to 'src/core.c')
-rw-r--r--src/core.c4
1 files changed, 3 insertions, 1 deletions
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 <glfw3.h>