diff options
Diffstat (limited to 'src/renderer')
-rw-r--r-- | src/renderer/backends/backend_opengl.c | 2 | ||||
-rw-r--r-- | src/renderer/render.c | 2 | ||||
-rw-r--r-- | src/renderer/render_types.h | 3 |
3 files changed, 4 insertions, 3 deletions
diff --git a/src/renderer/backends/backend_opengl.c b/src/renderer/backends/backend_opengl.c index ed2c70f..6022dbf 100644 --- a/src/renderer/backends/backend_opengl.c +++ b/src/renderer/backends/backend_opengl.c @@ -10,7 +10,7 @@ #include <glad/glad.h> -#include <GLFW/glfw3.h> +#include <glfw3.h> /** @brief Internal backend state */ typedef struct opengl_state { diff --git a/src/renderer/render.c b/src/renderer/render.c index ce908d6..4e9ad89 100644 --- a/src/renderer/render.c +++ b/src/renderer/render.c @@ -1,6 +1,6 @@ #include "render.h" -#include <GLFW/glfw3.h> +#include <glfw3.h> #include "log.h" #include "render_backend.h" 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 |