forked from len0rd/rockbox
Fix STRIDE macro for multiscreen and add stride support for picture lib.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22615 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f6025186fd
commit
25123570c7
28 changed files with 194 additions and 112 deletions
|
@ -73,7 +73,7 @@ Example ".ss" file, and one with a saved state:
|
|||
#include "pluginbitmaps/sudoku_start.h"
|
||||
|
||||
#define BITMAP_HEIGHT (BMPHEIGHT_sudoku_normal/10)
|
||||
#define BITMAP_STRIDE STRIDE(BMPWIDTH_sudoku_normal, BMPHEIGHT_sudoku_normal)
|
||||
#define BITMAP_STRIDE STRIDE(SCREEN_MAIN, BMPWIDTH_sudoku_normal, BMPHEIGHT_sudoku_normal)
|
||||
|
||||
#if (LCD_DEPTH>2)
|
||||
#define BITMAP_WIDTH (BMPWIDTH_sudoku_normal/2)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue