mesa: Add draw time validation for advanced blending modes.
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 20 Aug 2016 19:51:03 +0000 (12:51 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 26 Aug 2016 02:22:10 +0000 (19:22 -0700)
commitacf57fcf7ff7e60c3550da7b6dda7ad8b69195bd
treea54ebf01a43274c9136e218db4a46bea5c3f8582
parent75ae338d14ee3bf3ba438bb406831bf10b2c2f5d
mesa: Add draw time validation for advanced blending modes.

v2: Add null checks (requested by Curro).

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