summaryrefslogtreecommitdiff
path: root/apps/gui/splash.c
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2010-10-10 23:35:03 +0000
committerThomas Martitz <kugel@rockbox.org>2010-10-10 23:35:03 +0000
commit5462ef728fd41a6db4d1d784c478416ceeebf588 (patch)
tree22b41630b2252ec9bb14ee0ec8ee254e105f4b04 /apps/gui/splash.c
parent8a0152bd4ae638c1fe4917b855fcb9fc6a15202c (diff)
downloadrockbox-5462ef728fd41a6db4d1d784c478416ceeebf588.tar.gz
rockbox-5462ef728fd41a6db4d1d784c478416ceeebf588.zip
Add _rect to {draw,fill}_viewport as suggested by Jonathan Gordon to reduce the chance to confuse it with update_viewport().
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28240 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/splash.c')
-rw-r--r--apps/gui/splash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/gui/splash.c b/apps/gui/splash.c
index 8c5f57fdd9..5123e5d8f5 100644
--- a/apps/gui/splash.c
+++ b/apps/gui/splash.c
@@ -163,7 +163,7 @@ static void splash_internal(struct screen * screen, const char *fmt, va_list ap)
163#endif 163#endif
164 vp.drawmode = (DRMODE_SOLID|DRMODE_INVERSEVID); 164 vp.drawmode = (DRMODE_SOLID|DRMODE_INVERSEVID);
165 165
166 screen->fill_viewport(NULL); 166 screen->fill_viewport_rect(NULL);
167 167
168#if LCD_DEPTH > 1 168#if LCD_DEPTH > 1
169 if (screen->depth > 1) 169 if (screen->depth > 1)
@@ -174,7 +174,7 @@ static void splash_internal(struct screen * screen, const char *fmt, va_list ap)
174#endif 174#endif
175 vp.drawmode = DRMODE_SOLID; 175 vp.drawmode = DRMODE_SOLID;
176 176
177 screen->draw_viewport(NULL); 177 screen->draw_viewport_rect(NULL);
178 178
179 /* prepare putting the text */ 179 /* prepare putting the text */
180 y = RECT_SPACING; 180 y = RECT_SPACING;