summaryrefslogtreecommitdiff
path: root/src/mesa/main
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-05-21 10:11:13 -0600
committerBrian Paul <brianp@vmware.com>2009-05-21 16:10:45 -0600
commit1889890c88c3c10287ca4f84369190cc7029884f (patch)
tree9368b494d6019cefa0074bc7414b6fd261b77d01 /src/mesa/main
parentaac19609bfd7c950b2577489b06886c8a8097bb2 (diff)
mesa: check FEATURE_point_size_array for PointSize array
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/arrayobj.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/main/arrayobj.c b/src/mesa/main/arrayobj.c
index eab6fac94e..8973c3cb37 100644
--- a/src/mesa/main/arrayobj.c
+++ b/src/mesa/main/arrayobj.c
@@ -332,7 +332,9 @@ _mesa_update_array_object_max_element(GLcontext *ctx,
min = update_min(min, &arrayObj->FogCoord);
min = update_min(min, &arrayObj->Index);
min = update_min(min, &arrayObj->EdgeFlag);
+#if FEATURE_point_size_array
min = update_min(min, &arrayObj->PointSize);
+#endif
for (i = 0; i < ctx->Const.MaxTextureCoordUnits; i++)
min = update_min(min, &arrayObj->TexCoord[i]);
for (i = 0; i < VERT_ATTRIB_MAX; i++)