mesa: add missing update_min() call in update_arrays()

This commit is contained in:
Brian Paul
2009-05-22 15:35:49 -06:00
parent 2ead49f98b
commit 68d412f31c
+1 -1
View File
@@ -196,7 +196,7 @@ update_arrays( GLcontext *ctx )
if (ctx->VertexProgram._Current) {
for (i = 0; i < Elements(arrayObj->VertexAttrib); i++) {
if (arrayObj->VertexAttrib[i].Enabled) {
min = MIN2(min, arrayObj->VertexAttrib[i]._MaxElement);
min = update_min(min, &arrayObj->VertexAttrib[i]);
}
}
}