diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-04-05 11:53:34 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-04-05 11:53:34 +0300 |
commit | 2f700b828049fe5b2d1d0f3d4bc24f37de59e1a2 (patch) | |
tree | 61ca874de1fc1ea2a22b4c0604864fe66a8831a7 /source/blender/editors/sculpt_paint | |
parent | a4fac21fc5a2e5e3c816884da6499f931dfe6dd1 (diff) |
GPU_immediate_util: missed last commit
Diffstat (limited to 'source/blender/editors/sculpt_paint')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_cursor.c | 4 | ||||
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt_uv.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_cursor.c b/source/blender/editors/sculpt_paint/paint_cursor.c index e97f457494c..de629faac32 100644 --- a/source/blender/editors/sculpt_paint/paint_cursor.c +++ b/source/blender/editors/sculpt_paint/paint_cursor.c @@ -1133,11 +1133,11 @@ static void paint_draw_cursor(bContext *C, int x, int y, void *UNUSED(unused)) /* draw brush outline */ if (ups->stroke_active && BKE_brush_use_size_pressure(scene, brush)) { /* inner at full alpha */ - imm_draw_lined_circle(pos, translation[0], translation[1], final_radius * ups->size_pressure_value, 40); + imm_draw_circle_wire(pos, translation[0], translation[1], final_radius * ups->size_pressure_value, 40); /* outer at half alpha */ immUniformColor3fvAlpha(outline_col, outline_alpha * 0.5f); } - imm_draw_lined_circle(pos, translation[0], translation[1], final_radius, 40); + imm_draw_circle_wire(pos, translation[0], translation[1], final_radius, 40); immUnbindProgram(); diff --git a/source/blender/editors/sculpt_paint/sculpt_uv.c b/source/blender/editors/sculpt_paint/sculpt_uv.c index 578b4f8a234..b6bed36b2c6 100644 --- a/source/blender/editors/sculpt_paint/sculpt_uv.c +++ b/source/blender/editors/sculpt_paint/sculpt_uv.c @@ -218,7 +218,7 @@ static void brush_drawcursor_uvsculpt(bContext *C, int x, int y, void *UNUSED(cu glEnable(GL_LINE_SMOOTH); glEnable(GL_BLEND); - imm_draw_lined_circle(pos, (float)x, (float)y, size, 40); + imm_draw_circle_wire(pos, (float)x, (float)y, size, 40); glDisable(GL_BLEND); glDisable(GL_LINE_SMOOTH); |