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);
|
||||
}
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
|
|
|
@ -19117,7 +19117,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);
|
||||
}
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue