added missing vao freeing function

This commit is contained in:
vurtun 2015-12-11 11:57:34 +01:00
parent c13cc8cec7
commit 36d86df9ab

View File

@ -271,6 +271,7 @@ device_shutdown(struct device *dev)
glDeleteTextures(1, &dev->font_tex);
glDeleteBuffers(1, &dev->vbo);
glDeleteBuffers(1, &dev->ebo);
glDeleteVertexArrays(1, &dev->vao);
}
/* this is stupid but needed for C89 since sinf and cosf do not exist */