glhd: Add query protection.
authorCorbin Simpson <MostAwesomeDude@gmail.com>
Wed, 23 Jun 2010 06:11:01 +0000 (23:11 -0700)
committerCorbin Simpson <MostAwesomeDude@gmail.com>
Wed, 23 Jun 2010 06:11:01 +0000 (23:11 -0700)
commita6cc91487446f8e1e72e4f67823a359c0b3a41d6
treea676a1a8e905699f1cadd3a9c01a19d14379bee8
parentaa451d509df844e4652853f08e31bc1ee18c04ac
glhd: Add query protection.

Not quite copied from r300g. This is slightly more API-compliant.
src/gallium/drivers/galahad/glhd_context.c
src/gallium/drivers/r300/r300_query.c