diff options
author | Mike Erwin <significant.bit@gmail.com> | 2016-01-16 10:19:16 +0300 |
---|---|---|
committer | Mike Erwin <significant.bit@gmail.com> | 2016-01-16 10:19:16 +0300 |
commit | ddc75d7e8a04f70daddb497d52c8234e6a0c120c (patch) | |
tree | 5fc9cee27dd9687768970ce3e0ebea404238ed45 /source/blender/editors/interface/interface_draw.c | |
parent | 384a16bfbc802f9f7a6f3a666c9583f35468531d (diff) |
OpenGL: remove redundant state change
Diffstat (limited to 'source/blender/editors/interface/interface_draw.c')
-rw-r--r-- | source/blender/editors/interface/interface_draw.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/editors/interface/interface_draw.c b/source/blender/editors/interface/interface_draw.c index 2ba521883c3..b70048617c5 100644 --- a/source/blender/editors/interface/interface_draw.c +++ b/source/blender/editors/interface/interface_draw.c @@ -1634,11 +1634,9 @@ void ui_draw_but_NODESOCKET(ARegion *ar, uiBut *but, uiWidgetColors *UNUSED(wcol for (int a = 0; a < 16; a++) glVertex2f(x + size * si[a], y + size * co[a]); glEnd(); - glDisable(GL_BLEND); glColor4ub(0, 0, 0, 150); - glEnable(GL_BLEND); glEnable(GL_LINE_SMOOTH); glBegin(GL_LINE_LOOP); for (int a = 0; a < 16; a++) |