From e7218e7049972053140d94410aea75e0c3e87c61 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 9 Oct 2018 11:01:50 +1100 Subject: Cleanup: naming - immAttrib* -> immAttr* - immSkipAttrib -> immAttrSkip Term 'attr' is a convention for GPU module. --- source/blender/editors/space_graph/graph_draw.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'source/blender/editors/space_graph/graph_draw.c') diff --git a/source/blender/editors/space_graph/graph_draw.c b/source/blender/editors/space_graph/graph_draw.c index ad9af8cb948..927f64cb528 100644 --- a/source/blender/editors/space_graph/graph_draw.c +++ b/source/blender/editors/space_graph/graph_draw.c @@ -363,9 +363,9 @@ static void draw_fcurve_handles(SpaceIpo *sipo, FCurve *fcu) if ((!prevbezt && (bezt->ipo == BEZT_IPO_BEZ)) || (prevbezt && (prevbezt->ipo == BEZT_IPO_BEZ))) { UI_GetThemeColor3ubv(basecol + bezt->h1, col); col[3] = fcurve_display_alpha(fcu) * 255; - immAttrib4ubv(color, col); + immAttr4ubv(color, col); immVertex2fv(pos, fp); - immAttrib4ubv(color, col); + immAttr4ubv(color, col); immVertex2fv(pos, fp + 3); } @@ -373,9 +373,9 @@ static void draw_fcurve_handles(SpaceIpo *sipo, FCurve *fcu) if (bezt->ipo == BEZT_IPO_BEZ) { UI_GetThemeColor3ubv(basecol + bezt->h2, col); col[3] = fcurve_display_alpha(fcu) * 255; - immAttrib4ubv(color, col); + immAttr4ubv(color, col); immVertex2fv(pos, fp + 3); - immAttrib4ubv(color, col); + immAttr4ubv(color, col); immVertex2fv(pos, fp + 6); } } @@ -387,9 +387,9 @@ static void draw_fcurve_handles(SpaceIpo *sipo, FCurve *fcu) fp = bezt->vec[0]; UI_GetThemeColor3ubv(basecol + bezt->h1, col); col[3] = fcurve_display_alpha(fcu) * 255; - immAttrib4ubv(color, col); + immAttr4ubv(color, col); immVertex2fv(pos, fp); - immAttrib4ubv(color, col); + immAttr4ubv(color, col); immVertex2fv(pos, fp + 3); } @@ -400,9 +400,9 @@ static void draw_fcurve_handles(SpaceIpo *sipo, FCurve *fcu) fp = bezt->vec[1]; UI_GetThemeColor3ubv(basecol + bezt->h2, col); col[3] = fcurve_display_alpha(fcu) * 255; - immAttrib4ubv(color, col); + immAttr4ubv(color, col); immVertex2fv(pos, fp); - immAttrib4ubv(color, col); + immAttr4ubv(color, col); immVertex2fv(pos, fp + 3); } } -- cgit v1.2.3