diff options
Diffstat (limited to 'source/blender/editors/armature/editarmature_sketch.c')
-rw-r--r-- | source/blender/editors/armature/editarmature_sketch.c | 4 |
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); |