GPUBatch: Use custom allocator
This is needed for the new GPU abstraction.
This commit is contained in:
@@ -102,6 +102,7 @@ enum {
|
||||
GPU_BATCH_OWNS_INDEX = (1u << 31u),
|
||||
};
|
||||
|
||||
GPUBatch *GPU_batch_calloc(uint count);
|
||||
GPUBatch *GPU_batch_create_ex(GPUPrimType, GPUVertBuf *, GPUIndexBuf *, uint owns_flag);
|
||||
void GPU_batch_init_ex(GPUBatch *, GPUPrimType, GPUVertBuf *, GPUIndexBuf *, uint owns_flag);
|
||||
void GPU_batch_copy(GPUBatch *batch_dst, GPUBatch *batch_src);
|
||||
|
||||
Reference in New Issue
Block a user