aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2012-08-08 18:44:40 -0700
committerIan Romanick <[email protected]>2012-08-29 15:09:36 -0700
commit7d8d1c781967e0c29b0523e2c8056c2d7412dd60 (patch)
treeb5f91893e3d3c5ab9dc8d51f72edee5f9d043b59 /src/mesa
parent8a4d560796f0ec3424c363fc82852a02c2701fe5 (diff)
mesa: Fix VAO deletion on GL 3.1 core.
We were calling through a dispatch table entry that was NULL, since the apple variant is only on legacy desktop. Just call the function we mean instead of indirecting through the dispatch.
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/arrayobj.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/arrayobj.c b/src/mesa/main/arrayobj.c
index 3439ab6b5c1..9337fe72567 100644
--- a/src/mesa/main/arrayobj.c
+++ b/src/mesa/main/arrayobj.c
@@ -457,7 +457,7 @@ _mesa_DeleteVertexArraysAPPLE(GLsizei n, const GLuint *ids)
* becomes current."
*/
if ( obj == ctx->Array.ArrayObj ) {
- CALL_BindVertexArrayAPPLE( ctx->Exec, (0) );
+ _mesa_BindVertexArray(0);
}
/* The ID is immediately freed for re-use */