From d5ae547334b5f8229313182705da42c5e904a633 Mon Sep 17 00:00:00 2001 From: Omniscient Date: Tue, 5 Mar 2024 22:18:45 +1100 Subject: loads and runs now (no visuals yet) --- src/renderer/render.h | 2 +- src/renderer/render_types.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/renderer') diff --git a/src/renderer/render.h b/src/renderer/render.h index d1de515..e095e1c 100644 --- a/src/renderer/render.h +++ b/src/renderer/render.h @@ -1,7 +1,7 @@ #pragma once -#include "render_types.h" #include "loaders.h" +#include "render_types.h" // --- Lifecycle /** @brief initialise the render system frontend */ diff --git a/src/renderer/render_types.h b/src/renderer/render_types.h index 45851fe..12b912d 100644 --- a/src/renderer/render_types.h +++ b/src/renderer/render_types.h @@ -107,7 +107,7 @@ KITC_DECL_TYPED_ARRAY(mesh) // creates "mesh_darray" typedef struct model { str8 name; - mesh_darray meshes; + mesh_darray *meshes; aabb_3d bbox; material_darray *materials; bool is_loaded; -- cgit v1.2.3-70-g09d2