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>2017-02-08 02:38:07 +0300
committerJulian Eisel <eiseljulian@gmail.com>2017-02-11 02:39:17 +0300
commitdfadb452549398bee5292ba6677aafe071f010b1 (patch)
treefe95a1b6c286a5196c6e63f9aa0c5ae56c0210e3 /source/blender/gpu/GPU_batch.h
parent5b10a6bb8e0d2b494abe784f71436adc118f6972 (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.h6
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);