From 90aa02290ac87a08cef948efb3ee67335276468a Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 16 Aug 2017 20:31:32 +1000 Subject: Cleanup: rename GPU gawain functions Were using Batch_ prefix still --- source/blender/editors/uvedit/uvedit_smart_stitch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/uvedit') 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); -- cgit v1.2.3