Mercurial > hg > dmlib
diff tools/lib64fmts.c @ 1931:410679d2fe8a
"Enable" the image->c64 bitmap conversion path in gfxconv. It does not work
without the necessary bits elsewhere, though. Also add DMC64ImageConvSpec
structure for delivering conversion parameters, though it is not yet used
either.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 28 Jun 2018 17:26:30 +0300 |
parents | c048da352279 |
children | f530a858c06f |
line wrap: on
line diff
--- a/tools/lib64fmts.c Thu Jun 28 14:49:52 2018 +0300 +++ b/tools/lib64fmts.c Thu Jun 28 17:26:30 2018 +0300 @@ -930,12 +930,13 @@ } -static int fmtConvertECIBMP2Image(DMImage *dst, const DMC64Image *src, const DMC64ImageFormat *fmt) +static int fmtConvertECIBMP2Image(DMImage *dst, const DMC64Image *src, + const DMC64ImageFormat *fmt, const DMC64ImageConvSpec *spec) { if (!dmSetMixedColorC64Palette(dst)) return DMERR_MALLOC; - return dmC64ConvertGenericBMP2Image(dst, src, fmt); + return dmC64ConvertGenericBMP2Image(dst, src, fmt, spec); }