projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
XXX comment about point clamping
[mesa.git]
/
src
/
mesa
/
main
/
points.c
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);