diff options
author | Julian Eisel <eiseljulian@gmail.com> | 2015-06-30 22:02:19 +0300 |
---|---|---|
committer | Julian Eisel <eiseljulian@gmail.com> | 2015-06-30 22:04:25 +0300 |
commit | 5e9b43cc616922d3dca8567e64a568e8a1fc9012 (patch) | |
tree | f3db1e3959e6fa3db3336664700dc0e85cc72c96 /source/blender | |
parent | 6510e4050089451fcb1182f9553f2609377fbbcd (diff) |
Fix 1px gap in regions drawn with region overlap
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/screen/area.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/screen/area.c b/source/blender/editors/screen/area.c index 42adcc2df93..1b8680804a5 100644 --- a/source/blender/editors/screen/area.c +++ b/source/blender/editors/screen/area.c @@ -1928,7 +1928,7 @@ void ED_region_panels(const bContext *C, ARegion *ar, int vertical, const char * UI_view2d_view_restore(C); glEnable(GL_BLEND); UI_ThemeColor4((ar->type->regionid == RGN_TYPE_PREVIEW) ? TH_PREVIEW_BACK : TH_BACK); - glRecti(0, 0, BLI_rcti_size_x(&ar->winrct), BLI_rcti_size_y(&ar->winrct)); + glRecti(0, 0, BLI_rcti_size_x(&ar->winrct), BLI_rcti_size_y(&ar->winrct) + 1); glDisable(GL_BLEND); } else { |