summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/llvmpipe
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2011-04-28 12:41:45 -0600
committerBrian Paul <[email protected]>2011-04-28 12:41:49 -0600
commit8cce283038bf51a03de6734523c3e9ea8c8a6f33 (patch)
treecca58b939c314d8f19640817e43ee3c97226c3ee /src/gallium/drivers/llvmpipe
parent284191560b191ebb2219e0f5fe2de4128ad172a5 (diff)
llvmpipe: move active_query assignment
Fixes piglit regression.
Diffstat (limited to 'src/gallium/drivers/llvmpipe')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_setup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_setup.c b/src/gallium/drivers/llvmpipe/lp_setup.c
index 5700918856b..cbe06e58a78 100644
--- a/src/gallium/drivers/llvmpipe/lp_setup.c
+++ b/src/gallium/drivers/llvmpipe/lp_setup.c
@@ -1063,10 +1063,10 @@ lp_setup_begin_query(struct lp_setup_context *setup,
/* init the query to its beginning state */
assert(setup->active_query == NULL);
- setup->active_query = pq;
-
set_scene_state(setup, SETUP_ACTIVE, "begin_query");
+ setup->active_query = pq;
+
if (setup->scene) {
if (!lp_scene_bin_everywhere(setup->scene,
LP_RAST_OP_BEGIN_QUERY,