mesa: add APPLE_vertex_array_object stubs

Graphics / Mesa 3D Graphics Library / Mesa - Timothy Arceri [itsqueeze.com] - 22 May 2017 00:56 EDT

APPLE_vertex_array_object support was removed in 7927d0378fc7. However it turns out we can't remove the functions because this can cause issues when libglapi is used together with DRI drivers built prior to said commit

Fixes: 7927d0378fc ("mesa: drop APPLE_vertex_array_object support")

4eb0411 mesa: add APPLE_vertex_array_object stubs
src/mapi/glapi/gen/APPLE_vertex_array_object.xml | 27 ++++++++++++++++++++++++
src/mapi/glapi/gen/Makefile.am | 1 +
src/mapi/glapi/gen/gl_API.xml | 2 +-
src/mapi/glapi/tests/check_table.cpp | 2 ++
src/mesa/main/arrayobj.c | 16 ++++++++++++++
src/mesa/main/arrayobj.h | 4 ++++
src/mesa/main/tests/dispatch_sanity.cpp | 2 ++
7 files changed, 53 insertions(+), 1 deletion(-)

Upstream: cgit.freedesktop.org


  • Share