diff options
author | Eric Anholt <[email protected]> | 2012-08-08 18:44:40 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2012-08-29 15:09:36 -0700 |
commit | 7d8d1c781967e0c29b0523e2c8056c2d7412dd60 (patch) | |
tree | b5f91893e3d3c5ab9dc8d51f72edee5f9d043b59 /src | |
parent | 8a4d560796f0ec3424c363fc82852a02c2701fe5 (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')
-rw-r--r-- | src/mesa/main/arrayobj.c | 2 |
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 */ |