From 9ae08707d689ab9c91a16ce7e50829bd123d2cad Mon Sep 17 00:00:00 2001 From: Jeff Teunissen Date: Fri, 27 Oct 2000 10:51:15 +0000 Subject: [PATCH] Lose lcd_x --- source/r_main.c | 4 ---- source/screen.c | 9 +-------- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/source/r_main.c b/source/r_main.c index b61d345..300d9f1 100644 --- a/source/r_main.c +++ b/source/r_main.c @@ -380,10 +380,6 @@ void R_SetVrect (vrect_t *pvrectin, vrect_t *pvrect, int lineadj) else pvrect->y = (h - pvrect->height)/2; - if (lcd_x->value) { - pvrect->y >>= 1; - pvrect->height >>= 1; - } } diff --git a/source/screen.c b/source/screen.c index 004e523..e647330 100644 --- a/source/screen.c +++ b/source/screen.c @@ -865,7 +865,6 @@ needs almost the entire 256k of stack space! void SCR_UpdateScreen (void) { static int oldscr_viewsize; - static float oldlcd_x; vrect_t vrect; if (scr_skipupdate || block_drawing) @@ -905,13 +904,7 @@ void SCR_UpdateScreen (void) oldfov = scr_fov->value; vid.recalc_refdef = true; } - - if (oldlcd_x != lcd_x->value) - { - oldlcd_x = lcd_x->value; - vid.recalc_refdef = true; - } - + if (oldscreensize != scr_viewsize->int_val) { oldscreensize = scr_viewsize->int_val;