From 343100d1fcd5ee705e8b99cd9ff1259001f15081 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 26 Jan 2012 20:01:10 -0700 Subject: mesa: remove LSB-first pixel packing check in glReadPixels GL_UNPACK_LSB_FIRST only applies to bitmap data, not glReadPixels. Reviewed-by: Ian Romanick --- src/mesa/main/readpix.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/mesa') 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; } -- cgit v1.2.3