projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aac1960
)
mesa: check FEATURE_point_size_array for PointSize array
author
Brian Paul
<brianp@vmware.com>
Thu, 21 May 2009 16:11:13 +0000
(10:11 -0600)
committer
Brian Paul
<brianp@vmware.com>
Thu, 21 May 2009 22:10:45 +0000
(16:10 -0600)
src/mesa/main/arrayobj.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/arrayobj.c
b/src/mesa/main/arrayobj.c
index eab6fac94e6565be4ff94abdd854fdc999598fa9..8973c3cb37d43d971cd0eddd9e0af349167cd8c5 100644
(file)
--- 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++)