mesa: only check errors when the state change in glBlendEquationSeparateiARB()
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 2 Aug 2017 18:47:49 +0000 (20:47 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 3 Aug 2017 08:56:02 +0000 (10:56 +0200)
commit39df62551c782fb571833e26d35c53cdcdb6ab4b
tree2e474706e147b94c0664d9a2ffd30e4adba92302
parent6d8af9fd50cffae4a30a1f19a9c7927fc1c4d442
mesa: only check errors when the state change in glBlendEquationSeparateiARB()

When this GL call is a no-op, it should be a little faster.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/mesa/main/blend.c