Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2011-12-17 02:00:53 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2011-12-17 02:00:53 +0400
commit5fa014ff0229c54105d67d6d140be99cb3911c9b (patch)
tree95a9e52e69583a7e816fb9c792b976a2ab644d33 /source/blender/editors/interface/interface_draw.c
parent2a6fdbcccdb285664d921d59f66f96d0345124de (diff)
Fix #29569: region expander widget drawing poorly antialiased.
Diffstat (limited to 'source/blender/editors/interface/interface_draw.c')
-rw-r--r--source/blender/editors/interface/interface_draw.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/source/blender/editors/interface/interface_draw.c b/source/blender/editors/interface/interface_draw.c
index f3a99ecf6b8..7dd07db9b30 100644
--- a/source/blender/editors/interface/interface_draw.c
+++ b/source/blender/editors/interface/interface_draw.c
@@ -389,17 +389,7 @@ void uiRoundBox(float minx, float miny, float maxx, float maxy, float rad)
glEnable( GL_BLEND );
}
- /* solid part */
- uiDrawBox(GL_POLYGON, minx, miny, maxx, maxy, rad);
-
- /* set antialias line */
- glEnable( GL_LINE_SMOOTH );
- glEnable( GL_BLEND );
-
- uiDrawBox(GL_LINE_LOOP, minx, miny, maxx, maxy, rad);
-
- glDisable( GL_BLEND );
- glDisable( GL_LINE_SMOOTH );
+ ui_draw_anti_roundbox(GL_POLYGON, minx, miny, maxx, maxy, rad);
}