summaryrefslogtreecommitdiff
path: root/src/renderer
diff options
context:
space:
mode:
authorOmniscient <omniscient.oce@gmail.com>2024-03-05 22:18:45 +1100
committerOmniscient <omniscient.oce@gmail.com>2024-03-05 22:18:45 +1100
commitd5ae547334b5f8229313182705da42c5e904a633 (patch)
tree3656a402a2dfacd44c82f697061c387a622bcd0f /src/renderer
parentd92d5231ae094ae79d95463d54275a3527cf1c2d (diff)
loads and runs now (no visuals yet)
Diffstat (limited to 'src/renderer')
-rw-r--r--src/renderer/render.h2
-rw-r--r--src/renderer/render_types.h2
2 files changed, 2 insertions, 2 deletions
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;