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.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user