diff options
author | Brian Paul <[email protected]> | 2009-05-22 15:35:49 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-05-22 15:35:49 -0600 |
commit | 68d412f31cbf028b1faa1c7fd95b849a95bb762c (patch) | |
tree | b7f68ac5824a19779a6ffd7d31821491f33a6283 /src | |
parent | 2ead49f98bcc18ab0ebc7942de78e280ec56d77a (diff) |
mesa: add missing update_min() call in update_arrays()
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/main/state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/state.c b/src/mesa/main/state.c index d5bdb63a97b..7b41b8f4da4 100644 --- a/src/mesa/main/state.c +++ b/src/mesa/main/state.c @@ -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]); } } } |