mesa: use _mesa_rebase_rgba_float/uint() in glReadPixels code
authorBrian Paul <brianp@vmware.com>
Thu, 1 Mar 2012 03:55:50 +0000 (20:55 -0700)
committerBrian Paul <brianp@vmware.com>
Fri, 9 Mar 2012 03:10:53 +0000 (20:10 -0700)
commitad897fff7730298c21289768d9b1b55f3d166ac5
treeb5cda9d6fa4f16bd5d2d8fac55fc42bc167d44a1
parent774c4027651436451b3486f62b9a8903f29a715b
mesa: use _mesa_rebase_rgba_float/uint() in glReadPixels code

See the comments for _mesa_rebase_rgba_float() for details.
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=46679

NOTE: This is a candidate for the 8.0 branch.

Reviewed-by: José Fonseca <jfonseca@vmware.com>
src/mesa/main/readpix.c