diff options
author | Simon Howard | 2008-09-20 21:11:04 +0000 |
---|---|---|
committer | Simon Howard | 2008-09-20 21:11:04 +0000 |
commit | 221a00eba5f46470e92f9259fe1202851703ac8c (patch) | |
tree | b68740c52056c96273ae458ea7e2bf5b462f2f63 /src/v_video.c | |
parent | 10d63425ca7ee205aa986a4aaf34affadaa0434c (diff) | |
download | chocolate-doom-221a00eba5f46470e92f9259fe1202851703ac8c.tar.gz chocolate-doom-221a00eba5f46470e92f9259fe1202851703ac8c.tar.bz2 chocolate-doom-221a00eba5f46470e92f9259fe1202851703ac8c.zip |
Remove screens[] and all remaining use of it.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1251
Diffstat (limited to 'src/v_video.c')
-rw-r--r-- | src/v_video.c | 17 |
1 files changed, 3 insertions, 14 deletions
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. |