diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2017-02-08 02:38:07 +0300 |
---|---|---|
committer | Julian Eisel <eiseljulian@gmail.com> | 2017-02-11 02:39:17 +0300 |
commit | dfadb452549398bee5292ba6677aafe071f010b1 (patch) | |
tree | fe95a1b6c286a5196c6e63f9aa0c5ae56c0210e3 /source/blender/gpu/GPU_batch.h | |
parent | 5b10a6bb8e0d2b494abe784f71436adc118f6972 (diff) |
OpenGL immediate mode: gluSphere replacement
Updated interface_draw.c to use the new sphere batch.
Diffstat (limited to 'source/blender/gpu/GPU_batch.h')
-rw-r--r-- | source/blender/gpu/GPU_batch.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/gpu/GPU_batch.h b/source/blender/gpu/GPU_batch.h index bc3017e2784..066bc9eeba7 100644 --- a/source/blender/gpu/GPU_batch.h +++ b/source/blender/gpu/GPU_batch.h @@ -35,3 +35,9 @@ /* Extend Batch_set_program to use Blender’s library of built-in shader programs. */ void Batch_set_builtin_program(Batch*, GPUBuiltinShader); + +/* Replacement for gluSphere */ +Batch *Batch_get_sphere(int lod); + +void gpu_batch_init(void); +void gpu_batch_exit(void); |