forked from len0rd/rockbox
Ensure the 16-bit framebuffer is aligned on a 4-byte boundary
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7894 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
d2546c3dc6
commit
1a316d655b
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@
|
|||
#define RGB_PACK(r,g,b) (htobe16(((r>>3)<<11)|((g>>2)<<5)|(b>>3)))
|
||||
|
||||
/*** globals ***/
|
||||
fb_data lcd_framebuffer[LCD_HEIGHT][LCD_WIDTH] __attribute__ ((aligned (2)));
|
||||
fb_data lcd_framebuffer[LCD_HEIGHT][LCD_WIDTH] __attribute__ ((aligned (4)));
|
||||
|
||||
static unsigned fg_pattern;
|
||||
static unsigned bg_pattern;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue