diff options
author | Ilia Mirkin <[email protected]> | 2014-06-26 19:33:07 -0400 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2014-07-01 11:34:31 -0400 |
commit | 43e4b3e311df3bede930229380a7aa389ac7019a (patch) | |
tree | 4dffb0752eb8ac60416156b277074cb3a290efdd /src/gallium/drivers/identity | |
parent | 7f1b365f65ed5b95a941cf22f35f480d00739d4b (diff) |
gallium: add an index argument to create_query
Signed-off-by: Ilia Mirkin <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/gallium/drivers/identity')
-rw-r--r-- | src/gallium/drivers/identity/id_context.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gallium/drivers/identity/id_context.c b/src/gallium/drivers/identity/id_context.c index 00414b89624..97b39671fce 100644 --- a/src/gallium/drivers/identity/id_context.c +++ b/src/gallium/drivers/identity/id_context.c @@ -57,13 +57,15 @@ identity_draw_vbo(struct pipe_context *_pipe, static struct pipe_query * identity_create_query(struct pipe_context *_pipe, - unsigned query_type) + unsigned query_type, + unsigned index) { struct identity_context *id_pipe = identity_context(_pipe); struct pipe_context *pipe = id_pipe->pipe; return pipe->create_query(pipe, - query_type); + query_type, + index); } static void |