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/r_draw.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'apps/plugins/doom/r_draw.c') diff --git a/apps/plugins/doom/r_draw.c b/apps/plugins/doom/r_draw.c index f0b9d3300b..b6d84f0dff 100644 --- a/apps/plugins/doom/r_draw.c +++ b/apps/plugins/doom/r_draw.c @@ -630,7 +630,6 @@ void R_VideoErase(unsigned ofs, int count) memcpy(screens[0]+ofs, screens[1]+ofs, count); // LFB copy. } - // // R_DrawViewBorder // Draws the border around the view @@ -668,7 +667,7 @@ void R_DrawViewBorder(void) } if ( viewheight >= ( SCREENHEIGHT - ST_SCALED_HEIGHT )) - return; // if high-res, donŽt go any further! + return; // if high-res, don't go any further! top = ((SCREENHEIGHT-ST_SCALED_HEIGHT)-viewheight)/2; side = (SCREENWIDTH-scaledviewwidth)/2; -- cgit v1.2.3