diff options
Diffstat (limited to 'apps/plugins/jpeg.c')
| -rw-r--r-- | apps/plugins/jpeg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/jpeg.c b/apps/plugins/jpeg.c index b3a0b46..5ecd394 100644 --- a/apps/plugins/jpeg.c +++ b/apps/plugins/jpeg.c @@ -2783,7 +2783,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter) #ifdef USEGSLIB /* initialize the grayscale buffer: 32 bitplanes for 33 shades of gray. */ - grayscales = gray_init(rb, buf, buf_size, false, LCD_WIDTH, LCD_HEIGHT/8, + grayscales = gray_init(rb, buf, buf_size, false, LCD_WIDTH, LCD_HEIGHT, 32, 2<<8, &graysize) + 1; buf += graysize; buf_size -= graysize; |