summaryrefslogtreecommitdiff
path: root/src/renderer
diff options
context:
space:
mode:
authorJoshua Rowe <17525998+omnisci3nce@users.noreply.github.com>2024-02-25 13:50:16 +1100
committerGitHub <noreply@github.com>2024-02-25 13:50:16 +1100
commitb5b7cea24c46d28a4b72bc18ca8ccb2d532007d3 (patch)
treefe49ddad815c65ef0deb87dd76e172051e6c49e7 /src/renderer
parentfc287c6e4f958242a4272da5cb1704e3e789fe07 (diff)
parent938f745f052c14fccaa987b98ea4ac84e70c1fcc (diff)
Merge pull request #3 from omnisci3nce/feature/some-string-utils
Port String utils but using arena for allocation
Diffstat (limited to 'src/renderer')
-rw-r--r--src/renderer/render_types.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/renderer/render_types.h b/src/renderer/render_types.h
index a3639e7..e24fc24 100644
--- a/src/renderer/render_types.h
+++ b/src/renderer/render_types.h
@@ -9,6 +9,7 @@
#include "darray.h"
#include "maths_types.h"
+#include "str.h"
struct GLFWwindow;
@@ -65,7 +66,7 @@ KITC_DECL_TYPED_ARRAY(mesh) // creates "mesh_darray"
#endif
typedef struct model {
- char name[256];
+ str8 name;
} model;
#ifndef TYPED_MODEL_ARRAY