diff options
author | Brian Paul <[email protected]> | 2012-01-26 20:01:10 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2012-01-27 18:21:43 -0700 |
commit | 343100d1fcd5ee705e8b99cd9ff1259001f15081 (patch) | |
tree | 92c0be5da6e21dce9d23b99b20225d161f8a5d49 /src/mesa/main/readpix.c | |
parent | ab1195cf1127781909d5158c7de68f8732458d75 (diff) |
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]>
Diffstat (limited to 'src/mesa/main/readpix.c')
-rw-r--r-- | 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 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; } |