diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2020-08-10 02:40:23 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2020-08-13 15:20:23 +0300 |
commit | 157f2a20e6bd539604a0d5ff48a4b7741eb1952b (patch) | |
tree | 21d65f92d9cd6484940666ea37435fbcc566949f /source/blender/gpu/GPU_element.h | |
parent | 00a3c297d254ee7acb375206d7ed0cf6f0ef9ef9 (diff) |
GPU: Use GPU_vertbuf_create & GPU_indexbuf_calloc instead of manual alloc
Diffstat (limited to 'source/blender/gpu/GPU_element.h')
-rw-r--r-- | source/blender/gpu/GPU_element.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/gpu/GPU_element.h b/source/blender/gpu/GPU_element.h index 3d5195b12fc..5cf85b4ea0e 100644 --- a/source/blender/gpu/GPU_element.h +++ b/source/blender/gpu/GPU_element.h @@ -54,6 +54,8 @@ typedef struct GPUIndexBuf { }; } GPUIndexBuf; +GPUIndexBuf *GPU_indexbuf_calloc(void); + void GPU_indexbuf_use(GPUIndexBuf *); uint GPU_indexbuf_size_get(const GPUIndexBuf *); |