Replaced the one call to glutil_draw_lined_arc.
This seems to be the only draw call in this file.
Details
Details
Diff Detail
Diff Detail
- Repository
- rB Blender
- Branch
- arcpatch-D2497
- Build Status
Buildable 427 Build 427: arc lint + arc unit
Event Timeline
| source/blender/editors/sculpt_paint/sculpt_uv.c | ||
|---|---|---|
| 66–67 | Still need this after converting? | |
| 220 | Could use immUniformColor3fvAlpha(brush->add_col, alpha) | |
| 224–231 | We have a utility function for this: imm_draw_lined_circle(pos, x, y, size, 40); That would let you get rid of the "int i", glPushMatrix, glTranslatef, and glPopMatrix. Nice! | |