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:
authorCampbell Barton <ideasman42@gmail.com>2017-08-16 13:31:32 +0300
committerCampbell Barton <ideasman42@gmail.com>2017-08-16 13:32:42 +0300
commit90aa02290ac87a08cef948efb3ee67335276468a (patch)
treec5d28fa1ebc8cb984980ae344128c15635e61360 /source/blender/editors/armature
parent6bca0dcf7bd6c071f0b03234ac448d5e8e15fdc5 (diff)
Cleanup: rename GPU gawain functions
Were using Batch_ prefix still
Diffstat (limited to 'source/blender/editors/armature')
-rw-r--r--source/blender/editors/armature/editarmature_sketch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/armature/editarmature_sketch.c b/source/blender/editors/armature/editarmature_sketch.c
index e167d4edb94..b96e04a8a60 100644
--- a/source/blender/editors/armature/editarmature_sketch.c
+++ b/source/blender/editors/armature/editarmature_sketch.c
@@ -450,8 +450,8 @@ static void sk_drawPoint(SK_Point *pt, float size, float color[4])
gpuScaleUniform(sk_clampPointSize(pt, size));
- batch = Batch_get_sphere(0);
- Batch_set_builtin_program(batch, GPU_SHADER_3D_UNIFORM_COLOR);
+ batch = GPU_batch_preset_sphere(0);
+ GWN_batch_program_set_builtin(batch, GPU_SHADER_3D_UNIFORM_COLOR);
GWN_batch_uniform_4fv(batch, "color", color);
GWN_batch_draw(batch);