diff options
author | Campbell Barton <ideasman42@gmail.com> | 2016-06-09 23:48:43 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2016-06-10 00:50:49 +0300 |
commit | af077706fb8dd0b8468955068f28b0b794f6430a (patch) | |
tree | 40eaa597c83b601bdeccfcadbbf40776d8bd7227 /source/blender | |
parent | b07508a36209ce5044b9bb55c787de053df85bb2 (diff) |
Remove redundant GL attribute push/pop
Stipple isnt left on during object drawing
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/space_view3d/drawobject.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/source/blender/editors/space_view3d/drawobject.c b/source/blender/editors/space_view3d/drawobject.c index 5d1c0bfa72e..e61ef0cb9bb 100644 --- a/source/blender/editors/space_view3d/drawobject.c +++ b/source/blender/editors/space_view3d/drawobject.c @@ -1924,8 +1924,6 @@ static void drawcamera_stereo3d( if (is_stereo3d_cameras) { /* draw connecting lines */ - glPushAttrib(GL_ENABLE_BIT); - glLineStipple(2, 0xAAAA); glEnable(GL_LINE_STIPPLE); @@ -1933,7 +1931,6 @@ static void drawcamera_stereo3d( glVertex3fv(origin[0]); glVertex3fv(origin[1]); glEnd(); - glPopAttrib(); } /* draw convergence plane */ |