summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_query.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2012-03-05 16:20:05 +0100
committerMarek Olšák <[email protected]>2012-03-05 16:22:28 +0100
commite363dd5c7d8ba40984d937ad7487abbb5be439bc (patch)
treeb3c1ad2cd7e88f9418287767e27ee536405fb9fc /src/gallium/drivers/r600/r600_query.c
parent330b6c85c961b32f704ce8ec7dbf8cb7fc0b80a8 (diff)
r600g: replace atom_ prefix with _state and _cmd suffixes
Diffstat (limited to 'src/gallium/drivers/r600/r600_query.c')
-rw-r--r--src/gallium/drivers/r600/r600_query.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/r600/r600_query.c b/src/gallium/drivers/r600/r600_query.c
index c29d34902de..a0e1ac3e4a0 100644
--- a/src/gallium/drivers/r600/r600_query.c
+++ b/src/gallium/drivers/r600/r600_query.c
@@ -318,9 +318,9 @@ static void r600_update_occlusion_query_state(struct r600_context *rctx,
enable = rctx->num_occlusion_queries != 0;
- if (rctx->atom_db_misc_state.occlusion_query_enabled != enable) {
- rctx->atom_db_misc_state.occlusion_query_enabled = enable;
- r600_atom_dirty(rctx, &rctx->atom_db_misc_state.atom);
+ if (rctx->db_misc_state.occlusion_query_enabled != enable) {
+ rctx->db_misc_state.occlusion_query_enabled = enable;
+ r600_atom_dirty(rctx, &rctx->db_misc_state.atom);
}
}
}