mesa: only check errors when the state change in glPointSize()
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 31 Jul 2017 12:07:07 +0000 (14:07 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 31 Jul 2017 17:08:44 +0000 (19:08 +0200)
commit56bea2a26681967c415a8643bfc87a283a437f03
treebb764ad9f4801c763dfb80f1c201242f26ace753
parentc6ba70297992aaee4fa31ad3b1c4c0b6a1305177
mesa: only check errors when the state change in glPointSize()

When this GL call is a no-op, it should be a little faster in
the errors path only.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/mesa/main/points.c