diff options
author | Yuanhan Liu <[email protected]> | 2011-11-23 15:59:06 +0800 |
---|---|---|
committer | Yuanhan Liu <[email protected]> | 2011-11-29 09:48:50 +0800 |
commit | a0a5bd4bb30a73c10b02c3c3b914940a03f9b790 (patch) | |
tree | bb5dccc34cb8b0a0d97b2164cb8bff1c61a185d0 /src/mesa/main/context.c | |
parent | 4ff212aac3764565675c9c83af378671162bc4f2 (diff) |
mesa: move ElementArrayBufferObj to gl_array_object
According opengl spec 4.2.pdf table 6.12 (Vertex Array Object State) at
page 515, the element buffer object is listed in vertex array object.
So, move the ElementArrayBufferObj inside gl_array_object to make
element buffer object per-vao.
This would fix most of(3 left) intel oglc vao test fail
NOTE: this is a candidate for the 7.11 branch.
Signed-off-by: Yuanhan Liu <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main/context.c')
-rw-r--r-- | src/mesa/main/context.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index e0af6ee6749..7f6933ddb5b 100644 --- a/src/mesa/main/context.c +++ b/src/mesa/main/context.c @@ -1135,7 +1135,6 @@ _mesa_free_context_data( struct gl_context *ctx ) #if FEATURE_ARB_vertex_buffer_object _mesa_reference_buffer_object(ctx, &ctx->Array.ArrayBufferObj, NULL); - _mesa_reference_buffer_object(ctx, &ctx->Array.ElementArrayBufferObj, NULL); #endif /* free dispatch tables */ |