summaryrefslogtreecommitdiffstats
path: root/apps/plugins/pictureflow
diff options
context:
space:
mode:
authorMarcin Bukat <marcin.bukat@gmail.com>2018-03-02 21:53:55 +0100
committerMarcin Bukat <marcin.bukat@gmail.com>2018-06-12 10:31:15 +0200
commitfbb6a2ff6d751adaaef73a86a98700f91571d0a1 (patch)
treee4bf533e945a03887620361ad110b3612321d67d /apps/plugins/pictureflow
parent0538ba3d59a1a29adcee0b4656b204fda102ad89 (diff)
downloadrockbox-fbb6a2ff6d751adaaef73a86a98700f91571d0a1.tar.gz
rockbox-fbb6a2ff6d751adaaef73a86a98700f91571d0a1.tar.bz2
rockbox-fbb6a2ff6d751adaaef73a86a98700f91571d0a1.zip
Agptek Rocker: Build plugins
Patch provided by Aapo Tahkola. Change-Id: I37a42a950d78d6b8aa3927ec7aeb30030f7be7a5
Diffstat (limited to 'apps/plugins/pictureflow')
-rw-r--r--apps/plugins/pictureflow/pictureflow.c2
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)
result >>= 8;
return result;
-#elif LCD_PIXELFORMAT == RGB888
+#elif (LCD_PIXELFORMAT == RGB888 || LCD_PIXELFORMAT == XRGB8888) // FIXME: check this
unsigned int pixel = FB_UNPACK_SCALAR_LCD(c);
unsigned int result;
a = (a + 2) & 0x1fc;