mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 06:58:05 +02:00
gallium/util: fix incorrect shift in a4r4g4b4_put_tile_rgba()
Fixes fd.o bug 23313.
This commit is contained in:
parent
099e8ec54d
commit
5e78903952
1 changed files with 1 additions and 1 deletions
|
|
@ -341,7 +341,7 @@ a4r4g4b4_put_tile_rgba(ushort *dst,
|
|||
g >>= 4;
|
||||
b >>= 4;
|
||||
a >>= 4;
|
||||
*dst++ = (a << 12) | (r << 16) | (g << 4) | b;
|
||||
*dst++ = (a << 12) | (r << 8) | (g << 4) | b;
|
||||
}
|
||||
p += src_stride;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue