diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-10-09 03:01:50 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-10-09 03:01:50 +0300 |
commit | e7218e7049972053140d94410aea75e0c3e87c61 (patch) | |
tree | 6c73c7d89ccf52cdbce88ec83f0b2052a1038f45 /source/blender/editors/space_file/file_draw.c | |
parent | 9b49a0d971c50d3316b8b752e6a9f35f67fd53c8 (diff) |
Cleanup: naming
- immAttrib* -> immAttr*
- immSkipAttrib -> immAttrSkip
Term 'attr' is a convention for GPU module.
Diffstat (limited to 'source/blender/editors/space_file/file_draw.c')
-rw-r--r-- | source/blender/editors/space_file/file_draw.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/editors/space_file/file_draw.c b/source/blender/editors/space_file/file_draw.c index 79b73f6ff52..2ae432fbc4e 100644 --- a/source/blender/editors/space_file/file_draw.c +++ b/source/blender/editors/space_file/file_draw.c @@ -515,15 +515,15 @@ static void draw_dividers(FileLayout *layout, View2D *v2d) sx += step; v1[0] = v2[0] = sx; - immSkipAttrib(color); + immAttrSkip(color); immVertex2iv(pos, v1); - immAttrib3ubv(color, col_lo); + immAttr3ubv(color, col_lo); immVertex2iv(pos, v2); v1[0] = v2[0] = sx + 1; - immSkipAttrib(color); + immAttrSkip(color); immVertex2iv(pos, v1); - immAttrib3ubv(color, col_hi); + immAttr3ubv(color, col_hi); immVertex2iv(pos, v2); } |