diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-02-17 18:38:35 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-02-17 18:38:35 +0400 |
commit | 4529459a07082e714b7f9c222b9a8003939a145b (patch) | |
tree | 03e0c451dc9bc7789befebff64df500f43eaae11 /source/blender/editors/space_info | |
parent | 7cdff04f9f1b792eb99a0128189ad145f3921922 (diff) |
remove stipple from console selection drawing.
Diffstat (limited to 'source/blender/editors/space_info')
-rw-r--r-- | source/blender/editors/space_info/textview.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/source/blender/editors/space_info/textview.c b/source/blender/editors/space_info/textview.c index fc0a7b3b883..14a0aee09bd 100644 --- a/source/blender/editors/space_info/textview.c +++ b/source/blender/editors/space_info/textview.c @@ -74,15 +74,12 @@ static void console_draw_sel(const int sel[2], const int xy[2], const int str_le const int sta = max_ii(sel[0], 0); const int end = min_ii(sel[1], str_len_draw); - glEnable(GL_POLYGON_STIPPLE); - glPolygonStipple(stipple_halftone); glEnable(GL_BLEND); glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); glColor4ub(255, 255, 255, 48); glRecti(xy[0] + (cwidth * sta), xy[1] - 2 + lheight, xy[0] + (cwidth * end), xy[1] - 2); - glDisable(GL_POLYGON_STIPPLE); glDisable(GL_BLEND); } } |