mesa: Throw an error for a new query on an already-active query target.
authorEric Anholt <eric@anholt.net>
Wed, 17 Oct 2012 00:21:39 +0000 (17:21 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 23 Oct 2012 00:36:52 +0000 (17:36 -0700)
commitce086ebd89633d8d967cd65bacf5b05c1ac555ed
treeee98bd032680dc203d945193878e59a7e7a41cd3
parente755c1a36b27d6e45f0ae81729908342b8775c74
mesa: Throw an error for a new query on an already-active query target.

There's a similar test below, but it's not the same: that one checks whether
this query object is already active (potentially on another target).

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