mesa: remove useless check in _mesa_update_pixel()
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 6 Jun 2017 20:58:12 +0000 (22:58 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 7 Jun 2017 07:05:25 +0000 (09:05 +0200)
commit51854def8a31f5d23fa98aeafbd5acc72e08b3a4
treeef535f6a3a22c9eb21166431b6a3a59a95b9ddfb
parentf7741985be0234c3fe71e1f97740579e35726b92
mesa: remove useless check in _mesa_update_pixel()

The only caller is _mesa_update_state_locked() which already
checks if _NEW_PIXEL is set before calling _mesa_update_pixel().

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/mesa/main/pixel.c
src/mesa/main/pixel.h
src/mesa/main/state.c