forked from len0rd/rockbox
Const policed the grayscale lib & plugin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4985 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
0830339e2f
commit
85890b88df
9 changed files with 27 additions and 25 deletions
|
@ -34,7 +34,7 @@ static void _writepixel(int x, int y, unsigned long pattern);
|
|||
static void _invertpixel(int x, int y, unsigned long pattern);
|
||||
|
||||
/* function pointer array */
|
||||
void (*_gray_pixelfuncs[4])(int x, int y, unsigned long pattern) = {
|
||||
void (* const _gray_pixelfuncs[4])(int x, int y, unsigned long pattern) = {
|
||||
_invertpixel, _writepixel, _writepixel, _writepixel
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue