summaryrefslogtreecommitdiff
path: root/model.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'model.cpp')
-rw-r--r--model.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/model.cpp b/model.cpp
index c3d01ac..f102a07 100644
--- a/model.cpp
+++ b/model.cpp
@@ -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;
}