diff options
author | quou <quou@disroot.org> | 2024-12-29 18:39:09 +1100 |
---|---|---|
committer | quou <quou@disroot.org> | 2024-12-29 18:39:51 +1100 |
commit | 4123d42aee69537f6fcede748a5d7b88277ef4af (patch) | |
tree | 2873af4aed3aba320ddb127b8dd2653f577bd57c /model.cpp | |
parent | ee50c66126d56d4b456046ed533f90abb0075363 (diff) |
functions to destroy objects immediately
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; } |