summaryrefslogtreecommitdiff
path: root/apps/plugins/pictureflow/pictureflow.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/pictureflow/pictureflow.c')
-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)
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;