mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 03:00:46 +00:00
Fix a recently-introduced C++ error.
git-svn-id: https://svn.eduke32.com/eduke32@4501 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
f6dd12ffe5
commit
94ccdb076d
1 changed files with 1 additions and 1 deletions
|
@ -1010,7 +1010,7 @@ void gloadtile_art(int32_t dapic, int32_t dapal, int32_t dashade, int32_t dameth
|
|||
|
||||
Bassert(ydif > 0 && ydif < ysiz);
|
||||
|
||||
paddedpic = Xrealloc(pic, xsiz*nextpoty*sizeof(coltype));
|
||||
paddedpic = (coltype*) Xrealloc(pic, xsiz*nextpoty*sizeof(coltype));
|
||||
|
||||
pic = paddedpic;
|
||||
Bmemcpy(&pic[xsiz*ysiz], pic, xsiz*ydif*sizeof(coltype));
|
||||
|
|
Loading…
Reference in a new issue