summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/arrayobj.c
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2017-05-19 12:31:47 +1000
committerTimothy Arceri <[email protected]>2017-05-22 14:56:51 +1000
commit4eb0411ed72cbe13f320b7487c2a333e513becc9 (patch)
treed0b33833f76df4e9d50541dd13ff5719ea47d1d1 /src/mesa/main/arrayobj.c
parent3ceae88642ddddf7c44b44df7b5c24ca0c7df878 (diff)
mesa: add APPLE_vertex_array_object stubs
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") Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/mesa/main/arrayobj.c')
-rw-r--r--src/mesa/main/arrayobj.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/mesa/main/arrayobj.c b/src/mesa/main/arrayobj.c
index 82c00fbe826..b98622932c5 100644
--- a/src/mesa/main/arrayobj.c
+++ b/src/mesa/main/arrayobj.c
@@ -473,6 +473,14 @@ _mesa_BindVertexArray( GLuint id )
}
+void GLAPIENTRY
+_mesa_BindVertexArrayAPPLE(GLuint id)
+{
+ GET_CURRENT_CONTEXT(ctx);
+ _mesa_problem(ctx, "APPLE_vertex_array_object is not supported!");
+}
+
+
/**
* Delete a set of array objects.
*
@@ -579,6 +587,14 @@ _mesa_GenVertexArrays(GLsizei n, GLuint *arrays)
}
+void GLAPIENTRY
+_mesa_GenVertexArraysAPPLE(GLsizei n, GLuint *arrays)
+{
+ GET_CURRENT_CONTEXT(ctx);
+ _mesa_problem(ctx, "APPLE_vertex_array_object is not supported!");
+}
+
+
/**
* ARB_direct_state_access
* Generates ID's and creates the array objects.