mesa: remove LSB-first pixel packing check in glReadPixels

GL_UNPACK_LSB_FIRST only applies to bitmap data, not glReadPixels.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
(cherry picked from commit 343100d1fc)
This commit is contained in:
Brian Paul 2012-01-26 20:01:10 -07:00 committed by Ian Romanick
parent d953370670
commit a341475398

View file

@ -230,8 +230,7 @@ fast_read_rgba_pixels_memcpy( struct gl_context *ctx,
return GL_FALSE;
/* check for things we can't handle here */
if (packing->SwapBytes ||
packing->LsbFirst) {
if (packing->SwapBytes) {
return GL_FALSE;
}