projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d05b721
)
fix even-sized point positioning (bug 11874)
author
Brian
<brian.paul@tungstengraphics.com>
Tue, 7 Aug 2007 07:17:02 +0000
(08:17 +0100)
committer
Brian
<brian.paul@tungstengraphics.com>
Tue, 7 Aug 2007 07:17:02 +0000
(08:17 +0100)
src/mesa/swrast/s_points.c
patch
|
blob
|
history
diff --git
a/src/mesa/swrast/s_points.c
b/src/mesa/swrast/s_points.c
index 4768fbea972bb5a3973f3a9fce026ff3ba0ac246..21316372e80cde57ac109c7f055d5e8d0ad64f68 100644
(file)
--- a/
src/mesa/swrast/s_points.c
+++ b/
src/mesa/swrast/s_points.c
@@
-172,9
+172,9
@@
sprite_point(GLcontext *ctx, const SWvertex *vert)
}
else {
/* even size */
- xmin = (GLint) x - iRadius
+ 1
;
+ xmin = (GLint) x - iRadius;
xmax = xmin + iSize - 1;
- ymin = (GLint) y - iRadius
+ 1
;
+ ymin = (GLint) y - iRadius;
ymax = ymin + iSize - 1;
}
@@
-418,9
+418,9
@@
large_point(GLcontext *ctx, const SWvertex *vert)
}
else {
/* even size */
- xmin = (GLint) x - iRadius
+ 1
;
+ xmin = (GLint) x - iRadius;
xmax = xmin + iSize - 1;
- ymin = (GLint) y - iRadius
+ 1
;
+ ymin = (GLint) y - iRadius;
ymax = ymin + iSize - 1;
}