mesa: remove LSB-first pixel packing check in glReadPixels
authorBrian Paul <brianp@vmware.com>
Fri, 27 Jan 2012 03:01:10 +0000 (20:01 -0700)
committerBrian Paul <brianp@vmware.com>
Sat, 28 Jan 2012 01:21:43 +0000 (18:21 -0700)
GL_UNPACK_LSB_FIRST only applies to bitmap data, not glReadPixels.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/main/readpix.c

index c1489d211095f89b98b02d19e03345108166dd90..84b5224c8583ba2d8124a3e7a2a48fe67531b119 100644 (file)
@@ -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;
    }