st/mesa: fix readpixels regression with MESA_pack_invert
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 22 Jun 2016 15:36:18 +0000 (17:36 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Fri, 24 Jun 2016 10:36:02 +0000 (12:36 +0200)
commitb3de274b05c75565d14ec2d665a8bbfe55a7fb16
treefe4181979c7c7f3d0366b8aae0b671df12c8c55d
parent05e741c6d6df0be159bd14e705fa1a06e2bcf4b7
st/mesa: fix readpixels regression with MESA_pack_invert

Fixes an error introduced in commit 3948cd37973696dc319170877382676809659465.

Reported-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/state_tracker/st_cb_readpixels.c