sm501: Adjust endianness of pixel value in rectangle fill
The value from twoD_foreground (which is in host endian format) must be converted to the endianness of the framebuffer (currently always little endian) before it can be used to perform the fill operation. Signed-off-by: NMarcus Comstedt <marcus@mc.pp.se> Reviewed-by: NBALATON Zoltan <balaton@eik.bme.hu> Reviewed-by: NPeter Maydell <peter.maydell@linaro.org> Signed-off-by: NDavid Gibson <david@gibson.dropbear.id.au>
Showing
想要评论请 注册 或 登录