From 9dde7b272ef9402e6a23b0aa5a88bdcc83be9df6 Mon Sep 17 00:00:00 2001 From: Karl Kurbjun Date: Mon, 3 Apr 2006 00:28:13 +0000 Subject: 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 --- apps/plugins/doom/hu_lib.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'apps/plugins/doom/hu_lib.c') diff --git a/apps/plugins/doom/hu_lib.c b/apps/plugins/doom/hu_lib.c index 2ac3d35dde..3c510b028c 100644 --- a/apps/plugins/doom/hu_lib.c +++ b/apps/plugins/doom/hu_lib.c @@ -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 } //////////////////////////////////////////////////////// -- cgit v1.2.3