diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-08-16 13:31:32 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-08-16 13:32:42 +0300 |
commit | 90aa02290ac87a08cef948efb3ee67335276468a (patch) | |
tree | c5d28fa1ebc8cb984980ae344128c15635e61360 /source/blender/editors/uvedit/uvedit_smart_stitch.c | |
parent | 6bca0dcf7bd6c071f0b03234ac448d5e8e15fdc5 (diff) |
Cleanup: rename GPU gawain functions
Were using Batch_ prefix still
Diffstat (limited to 'source/blender/editors/uvedit/uvedit_smart_stitch.c')
-rw-r--r-- | source/blender/editors/uvedit/uvedit_smart_stitch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/uvedit/uvedit_smart_stitch.c b/source/blender/editors/uvedit/uvedit_smart_stitch.c index d75822cabe1..55ce45e5e2a 100644 --- a/source/blender/editors/uvedit/uvedit_smart_stitch.c +++ b/source/blender/editors/uvedit/uvedit_smart_stitch.c @@ -1546,7 +1546,7 @@ static void stitch_calculate_edge_normal(BMEditMesh *em, UvEdge *edge, float *no static void stitch_draw_vbo(Gwn_VertBuf *vbo, Gwn_PrimType prim_type, const float col[4]) { Gwn_Batch *batch = GWN_batch_create_ex(prim_type, vbo, NULL, GWN_BATCH_OWNS_VBO); - Batch_set_builtin_program(batch, GPU_SHADER_2D_UNIFORM_COLOR); + GWN_batch_program_set_builtin(batch, GPU_SHADER_2D_UNIFORM_COLOR); GWN_batch_uniform_4fv(batch, "color", col); GWN_batch_draw(batch); GWN_batch_discard(batch); |