From 4dadb6d4453d84d537e25e753f7904ce5c8539fb Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 5 Apr 2017 17:43:28 +1000 Subject: Naming constancy for 'imm' utility functions - use 'imm_draw_' prefix for functions that draw. - use '_3d' suffix for 3d functions, no suffix for 2d functions. - use terms fill/wire (shorter than filled / lined). Also add `imm_draw_circle_fill_3d` (only had wire version) --- source/blender/editors/screen/screendump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/screen/screendump.c') diff --git a/source/blender/editors/screen/screendump.c b/source/blender/editors/screen/screendump.c index 5a8ea10cb0a..e5fc89fccbc 100644 --- a/source/blender/editors/screen/screendump.c +++ b/source/blender/editors/screen/screendump.c @@ -462,7 +462,7 @@ static void screencast_draw_cursor(bContext *UNUSED(C), int x, int y, void *UNUS immBindBuiltinProgram(GPU_SHADER_2D_UNIFORM_COLOR); immUniformColor4ub(0, 0, 0, 32); - imm_draw_filled_circle(pos, (float)x, (float)y, 20, 40); + imm_draw_circle_fill(pos, (float)x, (float)y, 20, 40); immUniformColor4ub(255, 255, 255, 128); imm_draw_lined_circle(pos, (float)x, (float)y, 20, 40); -- cgit v1.2.3