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>2020-08-31 19:42:14 +0300
committerClément Foucault <foucault.clem@gmail.com>2020-09-01 01:30:36 +0300
commit13b0a697a07e84abe5a62168ba75f38d325d3f22 (patch)
tree71f2b3837d4bcca781300eb9697f146ec0d7e841 /source/blender/gpu/GPU_batch.h
parent052538edc1fba109d3427471047611888ed13bea (diff)
Cleanup: GPU: Remove GPU_draw_primitive and default_vao_
These are not used anymore and can be replicated using the GPUBatch API.
Diffstat (limited to 'source/blender/gpu/GPU_batch.h')
-rw-r--r--source/blender/gpu/GPU_batch.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/source/blender/gpu/GPU_batch.h b/source/blender/gpu/GPU_batch.h
index e87ad328f1d..b45898f9c6a 100644
--- a/source/blender/gpu/GPU_batch.h
+++ b/source/blender/gpu/GPU_batch.h
@@ -154,9 +154,6 @@ void GPU_batch_draw_instanced(GPUBatch *batch, int i_count);
/* This does not bind/unbind shader and does not call GPU_matrix_bind() */
void GPU_batch_draw_advanced(GPUBatch *, int v_first, int v_count, int i_first, int i_count);
-/* Does not even need batch */
-void GPU_draw_primitive(GPUPrimType, int v_count);
-
#if 0 /* future plans */
/* Can multiple batches share a GPUVertBuf? Use ref count? */