diff options
author | Brian Paul <[email protected]> | 2009-06-19 17:58:47 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-06-19 18:11:52 -0600 |
commit | 12cf98f5fc5eaa4743134387ce3f8e584aa20bc4 (patch) | |
tree | e5cda3e5920ae3102319844fd594c2e60495dff4 /src/mesa/main/context.c | |
parent | bda551898a09e4a07491dcf394bb2981dced0012 (diff) |
mesa: move vertex array objects from shared state to per-context
The ARB version requires VAOs to be per-context while the Apple extension
was ambiguous.
Diffstat (limited to 'src/mesa/main/context.c')
-rw-r--r-- | src/mesa/main/context.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index eafe292a1f2..7a9c69ac90b 100644 --- a/src/mesa/main/context.c +++ b/src/mesa/main/context.c @@ -1011,6 +1011,7 @@ _mesa_free_context_data( GLcontext *ctx ) #if FEATURE_ARB_occlusion_query _mesa_free_query_data(ctx); #endif + _mesa_free_varray_data(ctx); _mesa_delete_array_object(ctx, ctx->Array.DefaultArrayObj); |