Merge branch 'mesa_7_5_branch'

This commit is contained in:
Brian Paul
2009-05-22 14:09:35 -06:00

View File

@@ -194,9 +194,9 @@ update_arrays( GLcontext *ctx )
/* 16..31 */
if (ctx->VertexProgram._Current) {
for (i = VERT_ATTRIB_GENERIC0; i < VERT_ATTRIB_MAX; i++) {
for (i = 0; i < Elements(arrayObj->VertexAttrib); i++) {
if (arrayObj->VertexAttrib[i].Enabled) {
min = update_min(min, &arrayObj->VertexAttrib[i]);
min = MIN2(min, arrayObj->VertexAttrib[i]._MaxElement);
}
}
}