Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Foucault <foucault.clem@gmail.com>2018-12-18 15:08:08 +0300
committerClément Foucault <foucault.clem@gmail.com>2018-12-18 15:08:17 +0300
commitc92cffb56d55f5f8f3d42b9da9ca6885f374c0b0 (patch)
tree359e8fbf3c1e6ce0e651633926ef618c8505d3ff /source/blender/gpu/GPU_batch.h
parent77d9ddc5ea6b9c9c18699671ea5e7c37ee31d623 (diff)
DRW: Instance: Makes it possible to have instances of a non-init batch
Diffstat (limited to 'source/blender/gpu/GPU_batch.h')
-rw-r--r--source/blender/gpu/GPU_batch.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/GPU_batch.h b/source/blender/gpu/GPU_batch.h
index c77f0707ee5..f4911d15e56 100644
--- a/source/blender/gpu/GPU_batch.h
+++ b/source/blender/gpu/GPU_batch.h
@@ -100,7 +100,7 @@ enum {
GPUBatch *GPU_batch_create_ex(GPUPrimType, GPUVertBuf *, GPUIndexBuf *, uint owns_flag);
void GPU_batch_init_ex(GPUBatch *, GPUPrimType, GPUVertBuf *, GPUIndexBuf *, uint owns_flag);
-GPUBatch *GPU_batch_duplicate(GPUBatch *batch_src);
+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)