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:
authorCampbell Barton <ideasman42@gmail.com>2013-02-17 18:38:35 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-02-17 18:38:35 +0400
commit4529459a07082e714b7f9c222b9a8003939a145b (patch)
tree03e0c451dc9bc7789befebff64df500f43eaae11 /source/blender/editors/space_info/textview.c
parent7cdff04f9f1b792eb99a0128189ad145f3921922 (diff)
remove stipple from console selection drawing.
Diffstat (limited to 'source/blender/editors/space_info/textview.c')
-rw-r--r--source/blender/editors/space_info/textview.c3
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);
}
}