mesa: remove LSB-first pixel packing check in glReadPixels
GL_UNPACK_LSB_FIRST only applies to bitmap data, not glReadPixels. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user