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/softpipe/sp_query.c | |
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/softpipe/sp_query.c')
-rw-r--r-- | src/gallium/drivers/softpipe/sp_query.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/softpipe/sp_query.c b/src/gallium/drivers/softpipe/sp_query.c index 88223708f4f..e2fc917b361 100644 --- a/src/gallium/drivers/softpipe/sp_query.c +++ b/src/gallium/drivers/softpipe/sp_query.c @@ -53,7 +53,8 @@ static struct softpipe_query *softpipe_query( struct pipe_query *p ) static struct pipe_query * softpipe_create_query(struct pipe_context *pipe, - unsigned type) + unsigned type, + unsigned index) { struct softpipe_query* sq; |