mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-23 03:52:12 -04:00
store the size of the decoded image for flats
This commit is contained in:
parent
4bc92a14c3
commit
bbead25071
@ -813,6 +813,7 @@ void *V_CacheFlatNum(int lump, pu_tag tag)
|
||||
|
||||
Z_Free(buffer);
|
||||
|
||||
lumpinfo[lump].fmt_size = png.image_size;
|
||||
Z_Malloc(png.image_size, tag, &lumpcache[lump]);
|
||||
memcpy(lumpcache[lump], png.image, png.image_size);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user