mirror of
https://github.com/ZDoom/Raze.git
synced 2025-01-18 14:41:55 +00:00
Fix issue with screenshots
git-svn-id: https://svn.eduke32.com/eduke32@6399 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
7c7f550100
commit
d89909997c
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ static void png_write_uint32(uint32_t const in)
|
|||
static void png_write_chunk(uint32_t const size, char const *const type,
|
||||
uint8_t const *const data, uint32_t flags)
|
||||
{
|
||||
uint32_t chunk_size = flags & CHUNK_COMPRESSED ? compressBound(size) : size;
|
||||
mz_ulong chunk_size = flags & CHUNK_COMPRESSED ? compressBound(size) : size;
|
||||
uint8_t * const chunk = (uint8_t *) Xcalloc(1, 4 + chunk_size);
|
||||
|
||||
Bmemcpy(chunk, type, 4);
|
||||
|
|
Loading…
Reference in a new issue