Cleanup: use cpp new/delete.

This commit is contained in:
2021-06-08 13:12:49 +02:00
parent 322a614497
commit 43464c94f4
6 changed files with 48 additions and 31 deletions

View File

@@ -44,6 +44,11 @@ typedef struct GPUIndexBufBuilder {
uint index_max;
GPUPrimType prim_type;
uint32_t *data;
#ifdef WITH_CXX_GUARDEDALLOC
MEM_CXX_CLASS_ALLOC_FUNCS("GPU:GPUIndexBufBuilder")
#endif
} GPUIndexBufBuilder;
/* supports all primitive types. */