framebuffer: RGBA -> ARGB
authorSebastien Bourdeauducq <sebastien@milkymist.org>
Mon, 25 Mar 2013 17:32:25 +0000 (18:32 +0100)
committerSebastien Bourdeauducq <sebastien@milkymist.org>
Mon, 25 Mar 2013 17:32:25 +0000 (18:32 +0100)
milkymist/framebuffer/__init__.py

index 617bb003b16667110fcb08a881800992cdee5266..d15acaff81012c3f4bbb2e057a350d72c0fb4560 100644 (file)
@@ -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