paint: cleanup

This commit is contained in:
luboslenco
2026-03-07 21:12:59 +01:00
parent 313378a923
commit 0e41ccbfa5
189 changed files with 4736 additions and 4488 deletions
+8
View File
@@ -253,6 +253,14 @@ void gpu_vertex_structure_add(gpu_vertex_structure_t *structure, const char *nam
structure->size++;
}
void gpu_vertex_struct_add(gpu_vertex_structure_t *raw, char *name, gpu_vertex_data_t data) {
gpu_vertex_element_t *e = &raw->elements[raw->size];
// e->name = string_copy(name);
e->name = name;
e->data = data;
raw->size++;
}
void gpu_pipeline_init(gpu_pipeline_t *pipe) {
pipe->input_layout = NULL;
pipe->vertex_shader = NULL;