Fix for cycles border render optimization commit, render status bar was off by 1...
[blender.git] / source / blender / editors / screen / area.c
index f8331d774f57284cde8f080fffdb1eb505db8240..fc270203710d80c32c642ce12847d0b764d0a951 100644 (file)
@@ -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);