From d4f39b35bfbcedea83b3f3b4538697dbfcae70d0 Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Mon, 12 Aug 2013 00:40:09 +0200 Subject: games/doom: remove useless allocation of screen[0] buffer screens 0-3 are already initialized by V_Init(). --- sys/src/games/doom/i_video.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/src/games/doom/i_video.c b/sys/src/games/doom/i_video.c index 9db2b4797..fd6c0a59b 100644 --- a/sys/src/games/doom/i_video.c +++ b/sys/src/games/doom/i_video.c @@ -57,8 +57,6 @@ void I_InitGraphics(void) exits(nil); } mousepid = pid; - - screens[0] = (unsigned char*) malloc(SCREENWIDTH * SCREENHEIGHT); } void I_ShutdownGraphics(void) -- cgit v1.2.3