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>2016-01-24 14:06:05 +0300
committerCampbell Barton <ideasman42@gmail.com>2016-01-24 14:06:46 +0300
commit79ee1b0b5ad630cbd93f6b6fd928f869b09e6665 (patch)
treed950a88c85fd2d4bc6b55ccd48a2200693519a7d /source/blender/editors/screen
parent82577a7d7b9b3e5b3207223d2064aa602f124999 (diff)
More missing calls to glLineWidth
Diffstat (limited to 'source/blender/editors/screen')
-rw-r--r--source/blender/editors/screen/area.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/screen/area.c b/source/blender/editors/screen/area.c
index 574ae57b159..0e4dd701a58 100644
--- a/source/blender/editors/screen/area.c
+++ b/source/blender/editors/screen/area.c
@@ -409,6 +409,7 @@ static void region_draw_azones(ScrArea *sa, ARegion *ar)
if (!sa)
return;
+ glLineWidth(1.0f);
glEnable(GL_BLEND);
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
@@ -1940,6 +1941,8 @@ void ED_region_panels(const bContext *C, ARegion *ar, const char *context, int c
glClear(GL_COLOR_BUFFER_BIT);
}
+ /* reset line width for drawing tabs */
+ glLineWidth(1.0f);
/* set the view */
UI_view2d_view_ortho(v2d);