From 221a00eba5f46470e92f9259fe1202851703ac8c Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Sat, 20 Sep 2008 21:11:04 +0000 Subject: Remove screens[] and all remaining use of it. Subversion-branch: /branches/raven-branch Subversion-revision: 1251 --- src/v_video.c | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) (limited to 'src/v_video.c') diff --git a/src/v_video.c b/src/v_video.c index 5bb9e077..e2fc7eea 100644 --- a/src/v_video.c +++ b/src/v_video.c @@ -46,9 +46,6 @@ static byte *dest_screen = NULL; -// Each screen is [SCREENWIDTH*SCREENHEIGHT]; -byte *screens[5]; - int dirtybox[4]; // Now where did these came from? @@ -355,17 +352,9 @@ void V_DrawBlock(int x, int y, int width, int height, byte *src) // void V_Init (void) { - int i; - byte *base; - - // stick these in low dos memory on PCs - - base = Z_Malloc(SCREENWIDTH * SCREENHEIGHT * 3, PU_STATIC, NULL); - - for (i=0 ; i<4 ; i++) - { - screens[i + 1] = base + i*SCREENWIDTH*SCREENHEIGHT; - } + // no-op! + // There used to be separate screens that could be drawn to; these are + // now handled in the upper layers. } // Set the buffer that the code draws to. -- cgit v1.2.3