diff options
author | Felix Kuehling <[email protected]> | 2004-03-04 00:27:36 +0000 |
---|---|---|
committer | Felix Kuehling <[email protected]> | 2004-03-04 00:27:36 +0000 |
commit | 2462f6bfa0ca71390439104f751310da89a69d1a (patch) | |
tree | 026ea81f6d65ce284f20b7690d0873e22f57c3a1 /src/mesa/drivers | |
parent | 0e7b1d88118621c34f6a7b64abf3ff4b2ff20679 (diff) |
Clearing rectangle was one too big in each direction.
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/savage/savageioctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/savage/savageioctl.c b/src/mesa/drivers/dri/savage/savageioctl.c index e606fb95822..5eff31be146 100644 --- a/src/mesa/drivers/dri/savage/savageioctl.c +++ b/src/mesa/drivers/dri/savage/savageioctl.c @@ -61,8 +61,8 @@ static void savage_BCI_clear(GLcontext *ctx, drm_savage_clear_t *pclear) for (i = 0 ; i < nbox ; i++, pbox++) { unsigned int x = pbox->x1; unsigned int y = pbox->y1; - unsigned int width = pbox->x2 - x+1; - unsigned int height = pbox->y2 - y+1; + unsigned int width = pbox->x2 - x; + unsigned int height = pbox->y2 - y; unsigned int *bciptr; if (pbox->x1 > pbox->x2 || |