On Fri, Dec 8, 2017 at 4:01 PM, Matteo Bruni matteo.mystral@gmail.com wrote:
I'd rather go in a slightly different direction for this i.e. see the attached patch.
I'm not rejecting your patch though.
Your patch is nicer, but it doesn't fix all GL errors (e.g. alpha test). I also think that it would be good to have this fixed for 3.0.