summaryrefslogtreecommitdiff
path: root/c2.cpp
diff options
context:
space:
mode:
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;
}