mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 09:18:04 +02:00
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>
(cherry picked from commit 343100d1fc)
This commit is contained in:
parent
d953370670
commit
a341475398
1 changed files with 1 additions and 2 deletions
|
|
@ -230,8 +230,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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue