projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e7b1d8
)
Clearing rectangle was one too big in each direction.
author
Felix Kuehling
<fxkuehl@gmx.de>
Thu, 4 Mar 2004 00:27:36 +0000
(
00:27
+0000)
committer
Felix Kuehling
<fxkuehl@gmx.de>
Thu, 4 Mar 2004 00:27:36 +0000
(
00:27
+0000)
src/mesa/drivers/dri/savage/savageioctl.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/savage/savageioctl.c
b/src/mesa/drivers/dri/savage/savageioctl.c
index e606fb95822d07a67115ff6e5908f5263f8d14d1..5eff31be1461623075e0778f44ff1baeabd8fdc3 100644
(file)
--- 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 ||