1
0
Fork 0
forked from len0rd/rockbox

Fixes graphic errors in scaling code, note sure about the fix in hu_lib.c though. I havn't seen any corrupted text but it may still need a proper fix.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9445 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Karl Kurbjun 2006-04-03 00:28:13 +00:00
parent c16c727e54
commit 9dde7b272e
3 changed files with 11 additions and 5 deletions

View file

@ -219,6 +219,10 @@ void HUlib_drawTextLine
//
void HUlib_eraseTextLine(hu_textline_t* l)
{
// KK - If someone finds a use for this code, please fix it, I havn't seen the need
// And it's not written to take into account scaling. Causing some nasty effects
// on smaller screens.
#if 0
int lh;
int y;
int yoffset;
@ -243,8 +247,8 @@ void HUlib_eraseTextLine(hu_textline_t* l)
}
}
}
if (l->needsupdate) l->needsupdate--;
#endif
}
////////////////////////////////////////////////////////