mirror of
https://git.code.sf.net/p/quake/nuq
synced 2024-11-22 04:01:11 +00:00
Lose lcd_x
This commit is contained in:
parent
2c4544fff2
commit
9ae08707d6
2 changed files with 1 additions and 12 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
@ -906,12 +905,6 @@ void SCR_UpdateScreen (void)
|
|||
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;
|
||||
|
|
Loading…
Reference in a new issue