diff options
author | Ilia Mirkin <imirkin@alum.mit.edu> | 2014-06-26 19:33:07 -0400 |
---|---|---|
committer | Ilia Mirkin <imirkin@alum.mit.edu> | 2014-07-01 11:34:31 -0400 |
commit | 43e4b3e311df3bede930229380a7aa389ac7019a (patch) | |
tree | 4dffb0752eb8ac60416156b277074cb3a290efdd /src/gallium/tests | |
parent | 7f1b365f65ed5b95a941cf22f35f480d00739d4b (diff) |
gallium: add an index argument to create_query
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Diffstat (limited to 'src/gallium/tests')
-rw-r--r-- | src/gallium/tests/graw/occlusion-query.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/tests/graw/occlusion-query.c b/src/gallium/tests/graw/occlusion-query.c index f5227e33e9..d03934f9d1 100644 --- a/src/gallium/tests/graw/occlusion-query.c +++ b/src/gallium/tests/graw/occlusion-query.c @@ -169,8 +169,8 @@ draw(void) PIPE_CLEAR_COLOR | PIPE_CLEAR_DEPTHSTENCIL, &clear_color, 1.0, 0); - q1 = info.ctx->create_query(info.ctx, PIPE_QUERY_OCCLUSION_COUNTER); - q2 = info.ctx->create_query(info.ctx, PIPE_QUERY_OCCLUSION_COUNTER); + q1 = info.ctx->create_query(info.ctx, PIPE_QUERY_OCCLUSION_COUNTER, 0); + q2 = info.ctx->create_query(info.ctx, PIPE_QUERY_OCCLUSION_COUNTER, 0); /* draw first, large object */ set_vertices(obj1_vertices, sizeof(obj1_vertices)); |