summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/gui/splash.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/apps/gui/splash.c b/apps/gui/splash.c
index 5b3710f..50355d3 100644
--- a/apps/gui/splash.c
+++ b/apps/gui/splash.c
@@ -153,7 +153,9 @@ static void splash_internal(struct screen * screen, const char *fmt, va_list ap)
if (screen->depth > 1)
{
vp.drawmode = DRMODE_FG;
- vp.fg_pattern = SCREEN_COLOR_TO_NATIVE(screen, LCD_LIGHTGRAY);
+ /* can't do vp.fg_pattern here, since set_foreground does a bit more on
+ * greyscale */
+ screen->set_foreground(SCREEN_COLOR_TO_NATIVE(screen, LCD_LIGHTGRAY));
}
else
#endif
@@ -163,7 +165,9 @@ static void splash_internal(struct screen * screen, const char *fmt, va_list ap)
#if LCD_DEPTH > 1
if (screen->depth > 1)
- vp.fg_pattern = SCREEN_COLOR_TO_NATIVE(screen, LCD_BLACK);
+ /* can't do vp.fg_pattern here, since set_foreground does a bit more on
+ * greyscale */
+ screen->set_foreground(SCREEN_COLOR_TO_NATIVE(screen, LCD_BLACK));
else
#endif
vp.drawmode = DRMODE_SOLID;