The open region indicator (with +) didn't do alpha blending properly, so it wasn't
visible for any theme color.
This commit is contained in:
2013-04-17 13:40:00 +00:00
parent 8c246ddb99
commit 96dffe952b

View File

@@ -390,7 +390,7 @@ void uiRoundRect(float minx, float miny, float maxx, float maxy, float rad)
/* (old, used in outliner) plain antialiased filled box */
void uiRoundBox(float minx, float miny, float maxx, float maxy, float rad)
{
ui_draw_anti_roundbox(GL_POLYGON, minx, miny, maxx, maxy, rad, roundboxtype & UI_RB_ALPHA);
ui_draw_anti_roundbox(GL_POLYGON, minx, miny, maxx, maxy, rad, roundboxtype | UI_RB_ALPHA);
}
/* ************** SPECIAL BUTTON DRAWING FUNCTIONS ************* */