diff options
author | Marcin Bukat <marcin.bukat@gmail.com> | 2018-03-02 21:53:55 +0100 |
---|---|---|
committer | Marcin Bukat <marcin.bukat@gmail.com> | 2018-06-12 10:31:15 +0200 |
commit | fbb6a2ff6d751adaaef73a86a98700f91571d0a1 (patch) | |
tree | e4bf533e945a03887620361ad110b3612321d67d /apps/plugins/pictureflow/pictureflow.c | |
parent | 0538ba3d59a1a29adcee0b4656b204fda102ad89 (diff) | |
download | rockbox-fbb6a2ff6d751adaaef73a86a98700f91571d0a1.tar.gz rockbox-fbb6a2ff6d751adaaef73a86a98700f91571d0a1.zip |
Agptek Rocker: Build plugins
Patch provided by Aapo Tahkola.
Change-Id: I37a42a950d78d6b8aa3927ec7aeb30030f7be7a5
Diffstat (limited to 'apps/plugins/pictureflow/pictureflow.c')
-rw-r--r-- | apps/plugins/pictureflow/pictureflow.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/pictureflow/pictureflow.c b/apps/plugins/pictureflow/pictureflow.c index 4db3ad366d..6e47418e93 100644 --- a/apps/plugins/pictureflow/pictureflow.c +++ b/apps/plugins/pictureflow/pictureflow.c | |||
@@ -1826,7 +1826,7 @@ static inline pix_t fade_color(pix_t c, unsigned a) | |||
1826 | result >>= 8; | 1826 | result >>= 8; |
1827 | return result; | 1827 | return result; |
1828 | 1828 | ||
1829 | #elif LCD_PIXELFORMAT == RGB888 | 1829 | #elif (LCD_PIXELFORMAT == RGB888 || LCD_PIXELFORMAT == XRGB8888) // FIXME: check this |
1830 | unsigned int pixel = FB_UNPACK_SCALAR_LCD(c); | 1830 | unsigned int pixel = FB_UNPACK_SCALAR_LCD(c); |
1831 | unsigned int result; | 1831 | unsigned int result; |
1832 | a = (a + 2) & 0x1fc; | 1832 | a = (a + 2) & 0x1fc; |