mesa: Set the correct error in _mesa_BeginConditionalRender
authorIan Romanick <ian.d.romanick@intel.com>
Thu, 9 Jan 2014 22:08:55 +0000 (14:08 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Sat, 11 Jan 2014 01:19:48 +0000 (17:19 -0800)
commit2dc35a619c50139d07ad96fc4dfe456e5811c84e
tree6fddef94d90f7e3b1daf909232acffbe6888d1f6
parentdb1dc21a75d110344c0a7eccbddcce9c3a1b99d9
mesa: Set the correct error in _mesa_BeginConditionalRender

Piglit was recently changed to expect the correct error code (piglit
commit 271b998), so it started failing on Mesa.  This corrects that
failing and adds some spec quotations to justify the errrors set.

The code was rearranged a little bit to match the order listed in the
spec.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/main/condrender.c