summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/points.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2000-11-15 16:38:40 +0000
committerBrian Paul <[email protected]>2000-11-15 16:38:40 +0000
commit24a32627d9a1b23323429b989bb5705a695fb4c1 (patch)
tree775c71f6c97c58e88c85deabaa96c2f18e2f7b00 /src/mesa/main/points.c
parent30971cd098d147a4363df0dec0c338587dc1478f (diff)
Replaced ctx->Point.Size with ctx->Point._Size
Replaced ctx->Point.UserSize with ctx->Point.Size
Diffstat (limited to 'src/mesa/main/points.c')
-rw-r--r--src/mesa/main/points.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/main/points.c b/src/mesa/main/points.c
index f5923374b7e..b4de245e9f6 100644
--- a/src/mesa/main/points.c
+++ b/src/mesa/main/points.c
@@ -1,4 +1,4 @@
-/* $Id: points.c,v 1.21 2000/11/13 20:02:56 keithw Exp $ */
+/* $Id: points.c,v 1.22 2000/11/15 16:38:40 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -52,9 +52,9 @@ _mesa_PointSize( GLfloat size )
return;
}
- if (ctx->Point.UserSize != size) {
- ctx->Point.UserSize = size;
- ctx->Point.Size = CLAMP(size, ctx->Const.MinPointSize, ctx->Const.MaxPointSize);
+ if (ctx->Point.Size != size) {
+ ctx->Point.Size = size;
+ ctx->Point._Size = CLAMP(size, ctx->Const.MinPointSize, ctx->Const.MaxPointSize);
ctx->_TriangleCaps &= ~DD_POINT_SIZE;
if (size != 1.0)
ctx->_TriangleCaps |= DD_POINT_SIZE;