summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2012-01-26 20:01:10 -0700
committerBrian Paul <[email protected]>2012-01-27 18:21:43 -0700
commit343100d1fcd5ee705e8b99cd9ff1259001f15081 (patch)
tree92c0be5da6e21dce9d23b99b20225d161f8a5d49 /src
parentab1195cf1127781909d5158c7de68f8732458d75 (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')
-rw-r--r--src/mesa/main/readpix.c3
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;
}