Module: Mesa Branch: master Commit: 343100d1fcd5ee705e8b99cd9ff1259001f15081 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=343100d1fcd5ee705e8b99cd9ff1259001f15081
Author: Brian Paul <[email protected]> Date: Thu Jan 26 20:01:10 2012 -0700 mesa: remove LSB-first pixel packing check in glReadPixels GL_UNPACK_LSB_FIRST only applies to bitmap data, not glReadPixels. Reviewed-by: Ian Romanick <[email protected]> --- src/mesa/main/readpix.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/src/mesa/main/readpix.c b/src/mesa/main/readpix.c index c1489d2..84b5224 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; } _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
