# HG changeset patch # User Matti Hamalainen # Date 1353326696 -7200 # Node ID e8e244036ee424b546b60e61cad5f779c2765a19 # Parent 1ed5025c253897f8de8fec22524cc56117402a83 Update gfxconv and view64 to the changes in lib64gfx API. diff -r 1ed5025c2538 -r e8e244036ee4 gfxconv.c --- 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); diff -r 1ed5025c2538 -r e8e244036ee4 view64.c --- 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);