diff options
author | Karl Kurbjun <kkurbjun@gmail.com> | 2006-04-03 00:28:13 +0000 |
---|---|---|
committer | Karl Kurbjun <kkurbjun@gmail.com> | 2006-04-03 00:28:13 +0000 |
commit | 9dde7b272ef9402e6a23b0aa5a88bdcc83be9df6 (patch) | |
tree | ba05635cd1af75a702764509343fc5631ef76d04 /apps/plugins/doom/hu_lib.c | |
parent | c16c727e5426406305b23039f49c2a4ae01562b0 (diff) | |
download | rockbox-9dde7b272ef9402e6a23b0aa5a88bdcc83be9df6.tar.gz rockbox-9dde7b272ef9402e6a23b0aa5a88bdcc83be9df6.zip |
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
Diffstat (limited to 'apps/plugins/doom/hu_lib.c')
-rw-r--r-- | apps/plugins/doom/hu_lib.c | 6 |
1 files changed, 5 insertions, 1 deletions
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 | |||
219 | // | 219 | // |
220 | void HUlib_eraseTextLine(hu_textline_t* l) | 220 | void HUlib_eraseTextLine(hu_textline_t* l) |
221 | { | 221 | { |
222 | // KK - If someone finds a use for this code, please fix it, I havn't seen the need | ||
223 | // And it's not written to take into account scaling. Causing some nasty effects | ||
224 | // on smaller screens. | ||
225 | #if 0 | ||
222 | int lh; | 226 | int lh; |
223 | int y; | 227 | int y; |
224 | int yoffset; | 228 | int yoffset; |
@@ -243,8 +247,8 @@ void HUlib_eraseTextLine(hu_textline_t* l) | |||
243 | } | 247 | } |
244 | } | 248 | } |
245 | } | 249 | } |
246 | |||
247 | if (l->needsupdate) l->needsupdate--; | 250 | if (l->needsupdate) l->needsupdate--; |
251 | #endif | ||
248 | } | 252 | } |
249 | 253 | ||
250 | //////////////////////////////////////////////////////// | 254 | //////////////////////////////////////////////////////// |