diff options
author | cinap_lenrek <cinap_lenrek@gmx.de> | 2013-08-12 00:40:09 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@gmx.de> | 2013-08-12 00:40:09 +0200 |
commit | d4f39b35bfbcedea83b3f3b4538697dbfcae70d0 (patch) | |
tree | 25020006db4391f53e97ac5345afc00b9968288e /sys/src/games | |
parent | 762093d2125c0f6efffd55697e6b580dd607ccf3 (diff) |
games/doom: remove useless allocation of screen[0] buffer
screens 0-3 are already initialized by V_Init().
Diffstat (limited to 'sys/src/games')
-rw-r--r-- | sys/src/games/doom/i_video.c | 2 |
1 files changed, 0 insertions, 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) |