mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-04-03 16:33:11 +00:00
fix uninitialized pdata*
This commit is contained in:
parent
5e55a04f5f
commit
3f1681e0b3
1 changed files with 2 additions and 1 deletions
|
@ -583,7 +583,8 @@ static UINT8 *R_GenerateTexture(size_t texnum)
|
|||
wadnum = patch->wad;
|
||||
lumpnum = patch->lump;
|
||||
lumplength = W_LumpLengthPwad(wadnum, lumpnum);
|
||||
realpatch = W_CacheLumpNumPwad(wadnum, lumpnum, PU_CACHE);
|
||||
pdata = W_CacheLumpNumPwad(wadnum, lumpnum, PU_CACHE);
|
||||
realpatch = (patch_t *)pdata;
|
||||
dealloc = true;
|
||||
|
||||
#ifndef NO_PNG_LUMPS
|
||||
|
|
Loading…
Reference in a new issue