Mercurial > hg > dmlib
changeset 509:e8e244036ee4
Update gfxconv and view64 to the changes in lib64gfx API.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 19 Nov 2012 14:04:56 +0200 |
parents | 1ed5025c2538 |
children | 43ea59887c69 |
files | gfxconv.c view64.c |
diffstat | 2 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/gfxconv.c Mon Nov 19 13:50:10 2012 +0200 +++ b/gfxconv.c Mon Nov 19 14:04:56 2012 +0200 @@ -1520,8 +1520,8 @@ outImage->ncolors = C64_NCOLORS; outImage->constpal = TRUE; - if (cfmt->convert != NULL) - res = cfmt->convert(outImage, &cimage); + if (cfmt->convertFrom != NULL) + res = cfmt->convertFrom(outImage, &cimage); else res = dmC64ConvertGenericBMP2Image(outImage, &cimage);
--- a/view64.c Mon Nov 19 13:50:10 2012 +0200 +++ b/view64.c Mon Nov 19 14:04:56 2012 +0200 @@ -235,8 +235,8 @@ bmap.height = surf->h; bmap.constpal = TRUE; - if (fmt->convert != NULL) - ret = fmt->convert(&bmap, &image); + if (fmt->convertFrom != NULL) + ret = fmt->convertFrom(&bmap, &image); else ret = dmC64ConvertGenericBMP2Image(&bmap, &image);