summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/queryobj.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main/queryobj.h')
-rw-r--r--src/mesa/main/queryobj.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/queryobj.h b/src/mesa/main/queryobj.h
index d1036fcce3d..24a82571db0 100644
--- a/src/mesa/main/queryobj.h
+++ b/src/mesa/main/queryobj.h
@@ -35,7 +35,7 @@ static inline struct gl_query_object *
_mesa_lookup_query_object(struct gl_context *ctx, GLuint id)
{
return (struct gl_query_object *)
- _mesa_HashLookup(ctx->Query.QueryObjects, id);
+ _mesa_HashLookupLocked(ctx->Query.QueryObjects, id);
}