projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
369d665
)
XXX comment about point clamping
author
Brian
<brian.paul@tungstengraphics.com>
Thu, 28 Jun 2007 13:13:20 +0000
(07:13 -0600)
committer
Brian
<brian.paul@tungstengraphics.com>
Thu, 28 Jun 2007 13:16:12 +0000
(07:16 -0600)
src/mesa/main/points.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/points.c
b/src/mesa/main/points.c
index
8674c72
..
0f56242
100644
(file)
--- a/
src/mesa/main/points.c
+++ b/
src/mesa/main/points.c
@@
-57,6
+57,7
@@
_mesa_PointSize( GLfloat size )
FLUSH_VERTICES(ctx, _NEW_POINT);
ctx->Point.Size = size;
+ /* XXX correct clamp limits? */
ctx->Point._Size = CLAMP(ctx->Point.Size,
ctx->Point.MinSize,
ctx->Point.MaxSize);