| commit | a13df193c23f9202ade6f16643e3ef529cff772b | [log] [tgz] |
|---|---|---|
| author | Brian Paul <brianp@vmware.com> | Wed May 06 12:23:28 2009 -0600 |
| committer | Brian Paul <brianp@vmware.com> | Wed May 06 12:38:35 2009 -0600 |
| tree | 812ab68adae86253dca09c9bb8eebd369f7460eb | |
| parent | f831d2d41b5551abcf61f19880bc96779c5efd51 [diff] [blame] |
mesa: use elementBuf local var instead of ctx->Array.ElementArrayBufferObj Makes no real difference, but more consistant.
diff --git a/src/mesa/main/api_validate.c b/src/mesa/main/api_validate.c index 42d1e57..1986cbe 100644 --- a/src/mesa/main/api_validate.c +++ b/src/mesa/main/api_validate.c
@@ -72,7 +72,7 @@ if (map) { ctx->Driver.UnmapBuffer(ctx, GL_ELEMENT_ARRAY_BUFFER_ARB, - ctx->Array.ElementArrayBufferObj); + elementBuf); } return max;