Cleanup: Move draw_cache_impl_pointcloud.c to C++

This commit is contained in:
2022-08-09 11:10:44 -05:00
parent d832d993c5
commit 4ab6baefb1
3 changed files with 286 additions and 3 deletions

View File

@@ -93,8 +93,10 @@ void GPU_batch_init_ex(GPUBatch *batch,
*/
void GPU_batch_copy(GPUBatch *batch_dst, GPUBatch *batch_src);
#define GPU_batch_create(prim, verts, elem) GPU_batch_create_ex(prim, verts, elem, 0)
#define GPU_batch_init(batch, prim, verts, elem) GPU_batch_init_ex(batch, prim, verts, elem, 0)
#define GPU_batch_create(prim, verts, elem) \
GPU_batch_create_ex(prim, verts, elem, (eGPUBatchFlag)0)
#define GPU_batch_init(batch, prim, verts, elem) \
GPU_batch_init_ex(batch, prim, verts, elem, (eGPUBatchFlag)0)
/**
* Same as discard but does not free. (does not call free callback).