diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-04-15 20:18:33 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-04-15 20:18:33 +0400 |
commit | 460456bacaa8d3baebb293ca9dfb91899d98da81 (patch) | |
tree | d8a49015b3a3a4b10271ff8064f1d61641402140 /source | |
parent | 9b1a7b1cb55ecdc677072b5c7c8e2b598adeb433 (diff) |
Fix for cycles border render optimization commit, render status bar was off by 1 pixel.
Diffstat (limited to 'source')
-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 f8331d774f5..fc270203710 100644 --- a/source/blender/editors/screen/area.c +++ b/source/blender/editors/screen/area.c @@ -1877,7 +1877,7 @@ void ED_region_info_draw(ARegion *ar, const char *text, int block, float fill_co /* setup scissor */ glGetIntegerv(GL_SCISSOR_BOX, scissor); glScissor(ar->winrct.xmin + rect.xmin, ar->winrct.ymin + rect.ymin, - BLI_rcti_size_x(&rect), BLI_rcti_size_y(&rect)); + BLI_rcti_size_x(&rect) + 1, BLI_rcti_size_y(&rect) + 1); glEnable(GL_BLEND); glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); |