From: Sebastien Bourdeauducq Date: Mon, 25 Mar 2013 17:32:25 +0000 (+0100) Subject: framebuffer: RGBA -> ARGB X-Git-Tag: 24jan2021_ls180~2997 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1045d64e6ec4a580b5e6ed2bff17f44bc500f0e0;p=litex.git framebuffer: RGBA -> ARGB --- diff --git a/milkymist/framebuffer/__init__.py b/milkymist/framebuffer/__init__.py index 617bb003..d15acaff 100644 --- a/milkymist/framebuffer/__init__.py +++ b/milkymist/framebuffer/__init__.py @@ -13,10 +13,10 @@ _vbits = 11 _bpp = 32 _bpc = 10 _pixel_layout = [ + ("pad", _bpp-3*_bpc), ("r", _bpc), ("g", _bpc), - ("b", _bpc), - ("pad", _bpp-3*_bpc) + ("b", _bpc) ] _bpc_dac = 8