mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-20 00:11:19 +00:00
Calloc
This commit is contained in:
parent
14aec09d13
commit
94cee68d41
1 changed files with 1 additions and 1 deletions
|
@ -333,7 +333,7 @@ static void CONS_backcolor_Change(void)
|
|||
static void CON_SetupColormaps(void)
|
||||
{
|
||||
INT32 i;
|
||||
UINT8 *memorysrc = (UINT8 *)Z_Malloc((256*15), PU_STATIC, NULL);
|
||||
UINT8 *memorysrc = (UINT8 *)Z_Calloc((256*15), PU_STATIC, NULL);
|
||||
|
||||
magentamap = memorysrc;
|
||||
yellowmap = (magentamap+256);
|
||||
|
|
Loading…
Reference in a new issue