mesa: Trim down PixelStorei implementation
authorChris Forbes <chrisf@ijw.co.nz>
Tue, 20 May 2014 10:26:36 +0000 (22:26 +1200)
committerChris Forbes <chrisf@ijw.co.nz>
Mon, 9 Jun 2014 19:38:27 +0000 (07:38 +1200)
commit4119b0eaee1588548ec5b65cc35a092f83c64daf
tree0dda13e8e580728d5df248a4bc70bba8e5f18dec
parenteb58aa9cf015e79a0fcf2e088676e6aa1d5dabce
mesa: Trim down PixelStorei implementation

Move _mesa_error call for INVALID_VALUE to one place.
Remove checks for previous value matching -- this was important when we
were flushing vertices before the update, but that hasn't happened for a
long time now.

Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/main/pixelstore.c