llvmpipe: make sure binning is active when we begin/end a query
authorBrian Paul <brianp@vmware.com>
Wed, 12 Jan 2011 23:13:13 +0000 (16:13 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 18 Jan 2011 21:02:01 +0000 (14:02 -0700)
commit42dbc2530b5a2263012f3fa0e48517a1b8db1c52
treeb359a64e59044af89943db9fd6887c7e352adb06
parentfb7a8dedfa5ef9e9dfbd7e728d4f75cfa9aefcfb
llvmpipe: make sure binning is active when we begin/end a query

This fixes a potential failure when a begin/end_query is the first
thing to happen after flushing the scene.

NOTE: This is a candidate for the 7.10 and 7.9 branches.
src/gallium/drivers/llvmpipe/lp_setup.c