From 7927d0378fc72ceff7d0ddcbe7c21756f0e1f4ea Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Sat, 22 Apr 2017 17:01:15 +1000 Subject: mesa: drop APPLE_vertex_array_object support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Shared context support for VAOs was dropped in 0b2750620b65. From the ARB_vertex_array_object spec: "This extension differs from GL_APPLE_vertex_array_object in that client memory cannot be accessed through a non-zero vertex array object. It also differs in that vertex array objects are explicitly not sharable between contexts." Nobody should be using this extension over ARB_vertex_array_object anymore so just drop it rather than adding locking back just for VAOs created from these functions. For reference the Nvidia blob doesn't expose this extension. Reviewed-by: Nicolai Hähnle --- src/mesa/main/attrib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/main/attrib.c') diff --git a/src/mesa/main/attrib.c b/src/mesa/main/attrib.c index 8e738c91c8f..87d327621df 100644 --- a/src/mesa/main/attrib.c +++ b/src/mesa/main/attrib.c @@ -1575,7 +1575,7 @@ restore_array_attrib(struct gl_context *ctx, if (arb_vao && !_mesa_IsVertexArray(src->VAO->Name)) return; - _mesa_BindVertexArrayAPPLE(src->VAO->Name); + _mesa_BindVertexArray(src->VAO->Name); /* Restore or recreate the buffer objects by the names ... */ if (!arb_vao -- cgit v1.2.3