summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_query.c
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2010-05-15 19:37:33 +0200
committerMarek Olšák <maraeo@gmail.com>2010-05-15 19:39:57 +0200
commitaf87ef10dc3c3940ddd27ff699406edd7a1dcc38 (patch)
tree317850249b78d7f41fa15b3a7e3f5ca78b9784bf /src/gallium/drivers/r300/r300_query.c
parent251fae69e5d3a44c1a2a03f7172182e803a04792 (diff)
r300g: remove unused r300_query::active
Diffstat (limited to 'src/gallium/drivers/r300/r300_query.c')
-rw-r--r--src/gallium/drivers/r300/r300_query.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/drivers/r300/r300_query.c b/src/gallium/drivers/r300/r300_query.c
index 0067b0345d..6acbac2219 100644
--- a/src/gallium/drivers/r300/r300_query.c
+++ b/src/gallium/drivers/r300/r300_query.c
@@ -43,8 +43,6 @@ static struct pipe_query *r300_create_query(struct pipe_context *pipe,
q->type = query_type;
assert(q->type == PIPE_QUERY_OCCLUSION_COUNTER);
- q->active = FALSE;
-
if (r300screen->caps.family == CHIP_FAMILY_RV530)
query_size = r300screen->caps.num_z_pipes * sizeof(uint32_t);
else