projects
/
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 8674c7299c50571b694ca81db229562f6f290e29..0f562420b085fa689dfd36ddb68d3da417fa4bf7 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);