diff options
author | Andrew Mahone <andrew.mahone@gmail.com> | 2008-12-26 07:05:13 +0000 |
---|---|---|
committer | Andrew Mahone <andrew.mahone@gmail.com> | 2008-12-26 07:05:13 +0000 |
commit | 9058620849c080a404fb156915856f9d0b06e71c (patch) | |
tree | 004590b20a5ea0fa6b099f5332af162896e44098 /apps/gui/backdrop.c | |
parent | f7fa7e5ad537415f1f75b3a9c1a58eb925e10d04 (diff) |
Make scaler output truly pluggable, add an 8-bit greyscale output to
pluginlib for use with greylib, and add source for a test scaled bmp
viewer using greylib.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19593 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/backdrop.c')
-rw-r--r-- | apps/gui/backdrop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/gui/backdrop.c b/apps/gui/backdrop.c index 6178894c42..c95fda9022 100644 --- a/apps/gui/backdrop.c +++ b/apps/gui/backdrop.c @@ -52,7 +52,7 @@ static bool load_backdrop(const char* filename, fb_data* backdrop_buffer) /* load the image */ bm.data=(char*)backdrop_buffer; ret = read_bmp_file(filename, &bm, sizeof(main_backdrop), - FORMAT_NATIVE | FORMAT_DITHER); + FORMAT_NATIVE | FORMAT_DITHER, NULL); if ((ret > 0) && (bm.width == LCD_WIDTH) && (bm.height == LCD_HEIGHT)) { @@ -114,7 +114,7 @@ static bool load_remote_backdrop(const char* filename, fb_remote_data* backdrop_ /* load the image */ bm.data=(char*)backdrop_buffer; ret = read_bmp_file(filename, &bm, sizeof(main_backdrop), - FORMAT_NATIVE | FORMAT_DITHER | FORMAT_REMOTE); + FORMAT_NATIVE | FORMAT_DITHER | FORMAT_REMOTE, NULL); if ((ret > 0) && (bm.width == LCD_REMOTE_WIDTH) && (bm.height == LCD_REMOTE_HEIGHT)) { |