fix even-sized point positioning (bug 11874)

This commit is contained in:
Brian 2007-08-07 08:20:18 +01:00
parent e8ccc7cc49
commit 95a2eb9767

View file

@ -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*/