From 4123d42aee69537f6fcede748a5d7b88277ef4af Mon Sep 17 00:00:00 2001 From: quou Date: Sun, 29 Dec 2024 18:39:09 +1100 Subject: functions to destroy objects immediately --- model.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'model.cpp') 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; } -- cgit v1.2.3-54-g00ecf