mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 13:28:06 +02:00
fix even-sized point positioning (bug 11874)
This commit is contained in:
parent
e8ccc7cc49
commit
95a2eb9767
1 changed files with 2 additions and 2 deletions
|
|
@ -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*/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue