diff options
Diffstat (limited to 'model.cpp')
-rw-r--r-- | model.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -114,8 +114,8 @@ Asset* Model_Loader::load(Arena* a, Arena* s, Pack_File* f) { ctx->copy(r->vbo, stage_verts); ctx->copy(r->ibo, stage_indices); dev->submit(*ctx); - dev->destroy_buffer(stage_verts); - dev->destroy_buffer(stage_indices); + dev->destroy_bufferi(stage_verts); + dev->destroy_bufferi(stage_indices); return r; } |