summaryrefslogtreecommitdiff
path: root/src/mesa/main/points.c
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-06-28 07:13:20 -0600
committerBrian <brian.paul@tungstengraphics.com>2007-06-28 07:16:12 -0600
commit3156854c25cb41d7651a992cf30d42bfce04d593 (patch)
tree0e359dc36ee682081343de21c3fc9c8dcb15f4e6 /src/mesa/main/points.c
parent369d6654d4cdac7bf964918b2412c71d977bcbf5 (diff)
XXX comment about point clamping
Diffstat (limited to 'src/mesa/main/points.c')
-rw-r--r--src/mesa/main/points.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/points.c b/src/mesa/main/points.c
index 8674c7299c..0f562420b0 100644
--- 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);