Blender Git Commit Log

Git Commits -> Revision f696784

Revision f696784 by Mike Erwin (master)
April 6, 2017, 23:15 (GMT)
OpenGL: refactor UI_draw_roundbox functions

Each function takes a bool (filled vs outline) and a color. We already had multiple ways of passing color in; these are still here. Special variant for anti-aliasing.

- took GLenum out of interface
- removed UI_RB_ALPHA flag (only one place really used it)
- use exact vertex count
- removed redundant state changes (BLEND, LINE_SMOOTH)

Commit Details:

Full Hash: f69678482c849d873b9686cd6068946205db7c2b
Parent Commit: 934dfc4
Lines Changed: +110, -160

By: Miika HämäläinenLast update: Nov-07-2014 14:18 MiikaHweb | 2003-2022