From 34a610b1c1a688ebc3ba5e2afe9bde92d1fefa7d Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Thu, 14 Jul 2005 18:12:27 +0000 Subject: [PATCH] Reset all graphics defaults after returning from plugin. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7142 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugin.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/plugin.c b/apps/plugin.c index f346cf792f..bf69dfbc86 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -411,7 +411,11 @@ int plugin_load(const char* plugin, void* parameter) button_clear_queue(); #ifdef HAVE_LCD_BITMAP +#if LCD_DEPTH > 1 + lcd_set_drawinfo(DRMODE_SOLID, 0, MAX_LEVEL); +#else lcd_set_drawmode(DRMODE_SOLID); +#endif #endif plugin_loaded = false;