summaryrefslogtreecommitdiff
path: root/examples
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 /examples
parentf7944239b793d1d5c49336856965d3a793f99316 (diff)
initiate scene when bringing up core
Diffstat (limited to 'examples')
-rw-r--r--examples/triangle/ex_triangle.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/triangle/ex_triangle.c b/examples/triangle/ex_triangle.c
index 97d6484..7b8a1d0 100644
--- a/examples/triangle/ex_triangle.c
+++ b/examples/triangle/ex_triangle.c
@@ -18,6 +18,8 @@ int main() {
core_bringup();
arena scratch = arena_create(malloc(1024 * 1024), 1024 * 1024);
+ DEBUG("render capacity %d", g_core.default_scene.renderables->capacity);
+
gpu_renderpass_desc pass_description = {};
gpu_renderpass* renderpass = gpu_renderpass_create(&pass_description);