projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab1195c
)
mesa: remove LSB-first pixel packing check in glReadPixels
author
Brian Paul
<brianp@vmware.com>
Fri, 27 Jan 2012 03:01:10 +0000
(20:01 -0700)
committer
Brian Paul
<brianp@vmware.com>
Sat, 28 Jan 2012 01:21:43 +0000
(18:21 -0700)
GL_UNPACK_LSB_FIRST only applies to bitmap data, not glReadPixels.
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/main/readpix.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/readpix.c
b/src/mesa/main/readpix.c
index c1489d211095f89b98b02d19e03345108166dd90..84b5224c8583ba2d8124a3e7a2a48fe67531b119 100644
(file)
--- 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;
}