mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 20:28:04 +02:00
mesa: Pass the context to query object delete cb to avoid null dereference.
This commit is contained in:
parent
92dc8ffa71
commit
a402d48f84
1 changed files with 1 additions and 1 deletions
|
|
@ -546,6 +546,6 @@ delete_queryobj_cb(GLuint id, void *data, void *userData)
|
|||
void
|
||||
_mesa_free_query_data(GLcontext *ctx)
|
||||
{
|
||||
_mesa_HashDeleteAll(ctx->Query.QueryObjects, delete_queryobj_cb, NULL);
|
||||
_mesa_HashDeleteAll(ctx->Query.QueryObjects, delete_queryobj_cb, ctx);
|
||||
_mesa_DeleteHashTable(ctx->Query.QueryObjects);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue