From ccb954324c5a2c1c76f48a0bc1a8b6ba9e86bdbf Mon Sep 17 00:00:00 2001 From: Allanis Date: Tue, 23 Apr 2013 22:03:34 +0100 Subject: [PATCH] [Change] Maybe that off-by-one thing is sw mesa issues. :s --- src/toolkit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/toolkit.c b/src/toolkit.c index 5f6fdb7..c5d8f0f 100644 --- a/src/toolkit.c +++ b/src/toolkit.c @@ -1013,8 +1013,8 @@ static void toolkit_renderCust(Widget* cst, double bx, double by) { toolkit_colDark, NULL); } - toolkit_clip(x, y+1, cst->w, cst->h); - (*cst->dat.cst.render) (x, y, cst->w, cst->h+1); + toolkit_clip(x, y, cst->w, cst->h); + (*cst->dat.cst.render) (x, y, cst->w, cst->h); toolkit_unclip(); }