提交 399a4e21 编写于 作者: P Paul Brook

Fix PL110 framebuffer byteswapping in 32bpp mode.

Signed-off-by: NPaul Brook <paul@codesourcery.com>
上级 72af9170
......@@ -282,7 +282,7 @@ static void glue(pl110_draw_line32_,NAME)(void *opaque, uint8_t *d, const uint8_
#define LSB b
#define MSB r
#endif
#ifdef SWAP_WORDS
#ifndef SWAP_WORDS
LSB = data & 0xff;
g = (data >> 8) & 0xff;
MSB = (data >> 16) & 0xff;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册