summaryrefslogtreecommitdiff
path: root/src/mesa/main/queryobj.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2008-10-06 09:26:45 -0600
committerBrian Paul <brian.paul@tungstengraphics.com>2008-10-06 09:26:45 -0600
commit382911bdbce5545117d5a70ce7e43b71e8396e32 (patch)
treeb5f39d5d30a6ca408615836b17f1489fd251beb7 /src/mesa/main/queryobj.c
parent91d0020eecb78ef2984fd0afafc5d555c0e957d8 (diff)
mesa: add missing GLcontext param to _mesa_delete_query().
Fixes vtk crash and others.
Diffstat (limited to 'src/mesa/main/queryobj.c')
-rw-r--r--src/mesa/main/queryobj.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/queryobj.c b/src/mesa/main/queryobj.c
index a1e32e70ba..2d06030030 100644
--- a/src/mesa/main/queryobj.c
+++ b/src/mesa/main/queryobj.c
@@ -95,7 +95,7 @@ _mesa_wait_query(GLcontext *ctx, struct gl_query_object *q)
* XXX maybe add Delete() method to gl_query_object class and call that instead
*/
void
-_mesa_delete_query(struct gl_query_object *q)
+_mesa_delete_query(GLcontext *ctx, struct gl_query_object *q)
{
_mesa_free(q);
}