r600g: fix multiple occlusion query on same id
authorJerome Glisse <jglisse@redhat.com>
Wed, 22 Sep 2010 18:59:09 +0000 (14:59 -0400)
committerJerome Glisse <jglisse@redhat.com>
Wed, 22 Sep 2010 18:59:09 +0000 (14:59 -0400)
commitf060ae9ab6492446dbaf4d55665822c11a72d509
tree8b80623575286caae22b24945223eb18fd7b91b4
parentb8835a3992edb7b01712ea83b5729ef0f6f94e4f
r600g: fix multiple occlusion query on same id

When calling query begin using same query id we need to discard
previous query results.

Signed-off-by: Jerome Glisse <jglisse@redhat.com>
src/gallium/drivers/r600/r600_context.c
src/gallium/drivers/r600/r600_state2.c