summaryrefslogtreecommitdiff
path: root/c2.cpp
diff options
context:
space:
mode:
authorquou <quou@disroot.org>2024-12-29 18:39:09 +1100
committerquou <quou@disroot.org>2024-12-29 18:39:51 +1100
commit4123d42aee69537f6fcede748a5d7b88277ef4af (patch)
tree2873af4aed3aba320ddb127b8dd2653f577bd57c /c2.cpp
parentee50c66126d56d4b456046ed533f90abb0075363 (diff)
functions to destroy objects immediately
Diffstat (limited to 'c2.cpp')
-rw-r--r--c2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/c2.cpp b/c2.cpp
index b11b769..264f071 100644
--- a/c2.cpp
+++ b/c2.cpp
@@ -49,7 +49,7 @@ static Buffer_Id upload_verts(Device* dev) {
ctx.copy(vbo, stage);
dev->submit(ctx);
}
- dev->destroy_buffer(stage);
+ dev->destroy_bufferi(stage);
return vbo;
}