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

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