summaryrefslogtreecommitdiff
path: root/src/renderer/archive
diff options
context:
space:
mode:
Diffstat (limited to 'src/renderer/archive')
-rw-r--r--src/renderer/archive/render_backend.h2
-rw-r--r--src/renderer/archive/render_types.h8
2 files changed, 5 insertions, 5 deletions
diff --git a/src/renderer/archive/render_backend.h b/src/renderer/archive/render_backend.h
index da30bcc..6df9c81 100644
--- a/src/renderer/archive/render_backend.h
+++ b/src/renderer/archive/render_backend.h
@@ -22,7 +22,7 @@ void clear_screen(vec3 colour);
void texture_data_upload(texture* tex);
void bind_texture(shader s, texture* tex, u32 slot);
void bind_mesh_vertex_buffer(void* backend, mesh* mesh);
-void draw_primitives(cel_primitive_topology primitive, u32 start_index, u32 count);
+// void draw_primitives(cel_primitive_topology primitive, u32 start_index, u32 count);
shader shader_create_separate(const char* vert_shader, const char* frag_shader);
void set_shader(shader s);
diff --git a/src/renderer/archive/render_types.h b/src/renderer/archive/render_types.h
index f5ea986..5ee3316 100644
--- a/src/renderer/archive/render_types.h
+++ b/src/renderer/archive/render_types.h
@@ -147,10 +147,10 @@ typedef struct mesh {
u32 vbo, vao; /** OpenGL data. TODO: dont leak OpenGL details */
} mesh;
-// #ifndef TYPED_MESH_ARRAY
-// KITC_DECL_TYPED_ARRAY(mesh) // creates "mesh_darray"
-// #define TYPED_MESH_ARRAY
-// #endif
+#ifndef TYPED_MESH_ARRAY
+KITC_DECL_TYPED_ARRAY(mesh) // creates "mesh_darray"
+#define TYPED_MESH_ARRAY
+#endif
typedef struct model {
str8 name;