From: Brian Paul Date: Wed, 6 May 2009 18:23:28 +0000 (-0600) Subject: mesa: use elementBuf local var instead of ctx->Array.ElementArrayBufferObj X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a13df193c23f9202ade6f16643e3ef529cff772b;p=mesa.git 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 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;