[Mesa-dev] [PATCH 01/14] mesa: remove LSB-first pixel packing check in glReadPixels
Brian Paul
brianp at vmware.com
Thu Jan 26 19:04:07 PST 2012
GL_UNPACK_LSB_FIRST only applies to bitmap data, not glReadPixels.
---
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;
}
--
1.7.1
More information about the mesa-dev
mailing list