summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i915/i915_query.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/i915/i915_query.c')
-rw-r--r--src/gallium/drivers/i915/i915_query.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/i915/i915_query.c b/src/gallium/drivers/i915/i915_query.c
index 0efceb192b6..1500d970b0f 100644
--- a/src/gallium/drivers/i915/i915_query.c
+++ b/src/gallium/drivers/i915/i915_query.c
@@ -40,7 +40,8 @@ struct i915_query
};
static struct pipe_query *i915_create_query(struct pipe_context *ctx,
- unsigned query_type)
+ unsigned query_type,
+ unsigned index)
{
struct i915_query *query = CALLOC_STRUCT( i915_query );