| commit | 80f45e9767c6c24ba8bbc0c60c90ef604feab4b1 | [log] [tgz] |
|---|---|---|
| author | Geert Uytterhoeven <geert@linux-m68k.org> | Mon Apr 20 15:12:51 2020 +0200 |
| committer | Geert Uytterhoeven <geert@linux-m68k.org> | Mon Jun 22 17:01:16 2020 +0200 |
| tree | 3600aa5b035913d9ba72d66ad80a277599a57cec | |
| parent | 301c91b578bb3d0c783f223ff376c39dfde21ff6 [diff] |
Fix small pixel drawing on little endian systems If the pixel size (bpp) is smaller than the word size (long) on a little endian system, pixel data is written to the wrong part of the word. Fix this by reversing the shifts on little endian systems. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>