From: Brian Paul Date: Fri, 27 Jan 2012 03:01:10 +0000 (-0700) Subject: mesa: remove LSB-first pixel packing check in glReadPixels X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=343100d1fcd5ee705e8b99cd9ff1259001f15081;p=mesa.git mesa: remove LSB-first pixel packing check in glReadPixels GL_UNPACK_LSB_FIRST only applies to bitmap data, not glReadPixels. Reviewed-by: Ian Romanick --- diff --git a/src/mesa/main/readpix.c b/src/mesa/main/readpix.c index c1489d21109..84b5224c858 100644 --- a/src/mesa/main/readpix.c +++ b/src/mesa/main/readpix.c @@ -213,8 +213,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; }