projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07ff5ad
)
mesa: remove byteswap check in fast_read_rgba_pixels_memcpy()
author
Brian Paul
<brianp@vmware.com>
Fri, 27 Jan 2012 03:01:13 +0000
(20:01 -0700)
committer
Brian Paul
<brianp@vmware.com>
Sat, 28 Jan 2012 01:21:46 +0000
(18:21 -0700)
It's handled by _mesa_format_matches_format_and_type() now.
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 71de0b31298cb841bdcbfc5b47fb0bde4ce64d85..908a55e702e346cb0f6bb4a8f2cfa266f890bdc5 100644
(file)
--- a/
src/mesa/main/readpix.c
+++ b/
src/mesa/main/readpix.c
@@
-213,11
+213,6
@@
fast_read_rgba_pixels_memcpy( struct gl_context *ctx,
ctx->Pack.SwapBytes))
return GL_FALSE;
- /* check for things we can't handle here */
- if (packing->SwapBytes) {
- return GL_FALSE;
- }
-
dstStride = _mesa_image_row_stride(packing, width, format, type);
dst = (GLubyte *) _mesa_image_address2d(packing, pixels, width, height,
format, type, 0, 0);