mesa: Restyle _mesa_check_blend_func_error().
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 20 Aug 2016 19:18:16 +0000 (12:18 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 26 Aug 2016 02:22:09 +0000 (19:22 -0700)
commit75ae338d14ee3bf3ba438bb406831bf10b2c2f5d
tree788f4662f9976a80329cacd424fab8f7be14e47f
parent0745e039a2a9d6763f9a1a241fba18bdbd74ad85
mesa: Restyle _mesa_check_blend_func_error().

I'm about to add more error conditions to this function, so I wanted to
move the current spec citation above the code that checks it.  Indenting
it required reformatting, so I tried to move it to our newer style.

While there, I also decided to drop some GL type usage, and drop the
unnecessary "_mesa_" prefix on a static function.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
src/mesa/main/context.c