diff options
author | Dave Chapman <dave@dchapman.com> | 2005-11-15 15:37:00 +0000 |
---|---|---|
committer | Dave Chapman <dave@dchapman.com> | 2005-11-15 15:37:00 +0000 |
commit | 1a316d655b2dcc4b8498592898ae8d418dcb53e8 (patch) | |
tree | d46967774da6e768fa8613586c29e8ffb39037b0 /firmware/drivers | |
parent | d2546c3dc6ccdd8ec5471a337f79c7762cf6455a (diff) |
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
Diffstat (limited to 'firmware/drivers')
-rw-r--r-- | firmware/drivers/lcd-16bit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/drivers/lcd-16bit.c b/firmware/drivers/lcd-16bit.c index c2ff99539b..fb5e0ccbb8 100644 --- a/firmware/drivers/lcd-16bit.c +++ b/firmware/drivers/lcd-16bit.c @@ -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; |