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.
This commit is contained in:
parent
8a4d560796
commit
7d8d1c7819
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue