forked from len0rd/rockbox
make the plugin API frambuffer agnostic
Change-Id: I5abdc231093054c517ff53b9a456997e440e3f6e
This commit is contained in:
parent
5d5f8169b5
commit
12f3ed1699
25 changed files with 92 additions and 93 deletions
|
@ -190,7 +190,7 @@ GREY_INFO_STRUCT
|
|||
#define BUFFER_HEIGHT _grey_info.height
|
||||
typedef unsigned char pix_t;
|
||||
#else /* LCD_DEPTH >= 8 */
|
||||
#define LCD_BUF rb->lcd_framebuffer
|
||||
#define LCD_BUF *rb->lcd_framebuffer
|
||||
#define G_PIX LCD_RGBPACK
|
||||
#define N_PIX LCD_RGBPACK
|
||||
#define G_BRIGHT(y) LCD_RGBPACK(y,y,y)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue