Small refactor

This commit is contained in:
korenkonder
2023-09-16 16:52:33 +03:00
parent f247218dc3
commit f99155a469
62 changed files with 217 additions and 210 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ bool obj_mesh_index_buffer::load(obj_mesh& mesh) {
return true;
}
uint16_t* indices = force_malloc_s(uint16_t, num_index);
uint16_t* indices = force_malloc<uint16_t>(num_index);
obj_mesh_index_buffer::fill_data(indices, mesh);
bool ret = load_data(num_index * sizeof(uint16_t), indices);