mesa: Refuse to EndQuery with a mismatched query target.
authorEric Anholt <eric@anholt.net>
Wed, 17 Oct 2012 00:26:05 +0000 (17:26 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 23 Oct 2012 00:36:53 +0000 (17:36 -0700)
commit8f1131fcc00333efd824642576addacbea57f4ba
tree056e561423f941b504900345da7ee0483566d8b2
parentce086ebd89633d8d967cd65bacf5b05c1ac555ed
mesa: Refuse to EndQuery with a mismatched query target.

v2: Add a comment about what we're checking for.

Reviewed-by: Brian Paul <brianp@vmware.com> (v1)
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/main/queryobj.c