diff options
author | Brian <[email protected]> | 2007-08-07 08:20:18 +0100 |
---|---|---|
committer | Brian <[email protected]> | 2007-08-07 08:20:18 +0100 |
commit | 95a2eb97673fa3139218347a8eb2c1d34f585dbe (patch) | |
tree | 2e7600b7eb35a41e5922d41d7ad6cd30f6f1b3b8 /src/mesa/swrast | |
parent | e8ccc7cc492e612153038053ed15cda5087b56c5 (diff) |
fix even-sized point positioning (bug 11874)
Diffstat (limited to 'src/mesa/swrast')
-rw-r--r-- | src/mesa/swrast/s_pointtemp.h | 4 |
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*/ |