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 --- c2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'c2.cpp') 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; } -- cgit v1.2.3-54-g00ecf