OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f831d2d
)
mesa: use elementBuf local var instead of ctx->Array.ElementArrayBufferObj
author
Brian Paul
<brianp@vmware.com>
Wed, 6 May 2009 18:23:28 +0000
(12:23 -0600)
committer
Brian Paul
<brianp@vmware.com>
Wed, 6 May 2009 18:38:35 +0000
(12:38 -0600)
Makes no real difference, but more consistant.
src/mesa/main/api_validate.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/api_validate.c
b/src/mesa/main/api_validate.c
index
42d1e57
..
1986cbe
100644
(file)
--- 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;