summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_query.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2011-09-11 16:35:10 +0200
committerMarek Olšák <[email protected]>2011-09-12 22:03:03 +0200
commit1a532ca79a4a87bb86c641a6ca22da0301dc1f62 (patch)
tree21ed58ffe2fea2da5cf290cfa16f5999803ca6a9 /src/gallium/drivers/r600/r600_query.c
parent915227b0aa228fd203618adbb35930e994658087 (diff)
r600g: inline some of the winsys r600_get functions
Diffstat (limited to 'src/gallium/drivers/r600/r600_query.c')
-rw-r--r--src/gallium/drivers/r600/r600_query.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_query.c b/src/gallium/drivers/r600/r600_query.c
index de1f5d05f4e..e3512f7b1a6 100644
--- a/src/gallium/drivers/r600/r600_query.c
+++ b/src/gallium/drivers/r600/r600_query.c
@@ -104,6 +104,6 @@ void r600_init_query_functions(struct r600_pipe_context *rctx)
rctx->context.end_query = r600_end_query;
rctx->context.get_query_result = r600_get_query_result;
- if (r600_get_num_backends(rctx->screen->radeon) > 0)
+ if (rctx->screen->info.r600_num_backends > 0)
rctx->context.render_condition = r600_render_condition;
}