renderer: mesh_destroy
parent
45388ccfde
commit
33fb24142d
|
@ -371953,7 +371953,9 @@ void mesh_render_prim(mesh_t *sm, unsigned prim) {
|
|||
|
||||
void mesh_destroy(mesh_t *m) {
|
||||
// @todo
|
||||
(void)m;
|
||||
glDeleteBuffers(1, &m->vbo);
|
||||
glDeleteBuffers(1, &m->ibo);
|
||||
glDeleteVertexArrays(1, &m->vao);
|
||||
}
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
|
|
|
@ -1943,7 +1943,9 @@ void mesh_render_prim(mesh_t *sm, unsigned prim) {
|
|||
|
||||
void mesh_destroy(mesh_t *m) {
|
||||
// @todo
|
||||
(void)m;
|
||||
glDeleteBuffers(1, &m->vbo);
|
||||
glDeleteBuffers(1, &m->ibo);
|
||||
glDeleteVertexArrays(1, &m->vao);
|
||||
}
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
|
|
63824
engine/v4k.c
63824
engine/v4k.c
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue