diff options
author | Brian Paul <[email protected]> | 2009-05-06 12:23:28 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-05-06 12:38:35 -0600 |
commit | a13df193c23f9202ade6f16643e3ef529cff772b (patch) | |
tree | 812ab68adae86253dca09c9bb8eebd369f7460eb /src/mesa/main/api_validate.c | |
parent | f831d2d41b5551abcf61f19880bc96779c5efd51 (diff) |
mesa: use elementBuf local var instead of ctx->Array.ElementArrayBufferObj
Makes no real difference, but more consistant.
Diffstat (limited to 'src/mesa/main/api_validate.c')
-rw-r--r-- | src/mesa/main/api_validate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/api_validate.c b/src/mesa/main/api_validate.c index 42d1e579e08..1986cbecbb3 100644 --- a/src/mesa/main/api_validate.c +++ b/src/mesa/main/api_validate.c @@ -72,7 +72,7 @@ max_buffer_index(GLcontext *ctx, GLuint count, GLenum type, if (map) { ctx->Driver.UnmapBuffer(ctx, GL_ELEMENT_ARRAY_BUFFER_ARB, - ctx->Array.ElementArrayBufferObj); + elementBuf); } return max; |