summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-08-07 08:20:18 +0100
committerBrian <[email protected]>2007-08-07 08:20:18 +0100
commit95a2eb97673fa3139218347a8eb2c1d34f585dbe (patch)
tree2e7600b7eb35a41e5922d41d7ad6cd30f6f1b3b8 /src/mesa/swrast
parente8ccc7cc492e612153038053ed15cda5087b56c5 (diff)
fix even-sized point positioning (bug 11874)
Diffstat (limited to 'src/mesa/swrast')
-rw-r--r--src/mesa/swrast/s_pointtemp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/swrast/s_pointtemp.h b/src/mesa/swrast/s_pointtemp.h
index dddc2f7f40c..94364643d4b 100644
--- a/src/mesa/swrast/s_pointtemp.h
+++ b/src/mesa/swrast/s_pointtemp.h
@@ -217,9 +217,9 @@ NAME ( GLcontext *ctx, const SWvertex *vert )
}
else {
/* even size */
- xmin = (GLint) vert->win[0] - iRadius + 1;
+ xmin = (GLint) vert->win[0] - iRadius;
xmax = xmin + iSize - 1;
- ymin = (GLint) vert->win[1] - iRadius + 1;
+ ymin = (GLint) vert->win[1] - iRadius;
ymax = ymin + iSize - 1;
}
#endif /*SMOOTH*/