diff options
author | Eric Anholt <[email protected]> | 2011-09-08 16:52:44 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2011-09-19 11:51:53 -0700 |
commit | 7371224c069357319b3f2ee9e9b017fc284897cb (patch) | |
tree | 4a0a36e892256304888c2f5dcd45833b9901e860 /configs/linux-osmesa-static | |
parent | 8899f6e93c976a0abfd58d2dc7896f9984699480 (diff) |
mesa: Throw an error instead of asserting for condrender with query == 0.
From the NV_conditional_render spec:
BeginQuery sets the active query object name for the query type given by
<target> to <id>. If BeginQuery is called with an <id> of zero, if the
active query object name for <target> is non-zero, if <id> is the active
query object name for any query type, or if <id> is the active query
object for condtional rendering (Section 2.X), the error INVALID OPERATION
is generated.
Fixes piglit nv_conditional_render-begin-zero.
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'configs/linux-osmesa-static')
0 files changed, 0 insertions, 0 deletions