Mercurial > hg > dmlib
diff tools/lib64gfx.h @ 1499:32640e1934d5
Simplify some encoding bits.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 11 May 2018 07:07:40 +0300 |
parents | acb607e2c350 |
children | c7b9ef56319b |
line wrap: on
line diff
--- a/tools/lib64gfx.h Fri May 11 07:06:36 2018 +0300 +++ b/tools/lib64gfx.h Fri May 11 07:07:40 2018 +0300 @@ -209,7 +209,7 @@ int dmC64ProbeBMP(const Uint8 *buf, const size_t len, const DMC64ImageFormat **fmt); int dmC64DecodeGenericBMP(DMC64Image *img, const Uint8 *buf, const size_t len, const DMC64ImageFormat *fmt); -int dmC64EncodeGenericBMP(DMGrowBuf *buf, const DMC64Image *img, const DMC64ImageFormat *fmt); +int dmC64EncodeGenericBMP(const BOOL allocate, DMGrowBuf *buf, const DMC64Image *img, const DMC64ImageFormat *fmt); int dmC64ConvertBMP2Image(DMImage **pdst, const DMC64Image *src, const DMC64ImageFormat *fmt); int dmC64ConvertImage2BMP(DMC64Image **pdst, const DMImage *src, const DMC64ImageFormat *fmt);