mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue