Mercurial > hg > dmlib
comparison gfxconv.c @ 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 | 5672dc238904 |
children | 6f141f760c54 |
comparison
equal
deleted
inserted
replaced
508:1ed5025c2538 | 509:e8e244036ee4 |
---|---|
1518 | 1518 |
1519 outImage->pal = (DMColor *) &dmC64Palette; | 1519 outImage->pal = (DMColor *) &dmC64Palette; |
1520 outImage->ncolors = C64_NCOLORS; | 1520 outImage->ncolors = C64_NCOLORS; |
1521 outImage->constpal = TRUE; | 1521 outImage->constpal = TRUE; |
1522 | 1522 |
1523 if (cfmt->convert != NULL) | 1523 if (cfmt->convertFrom != NULL) |
1524 res = cfmt->convert(outImage, &cimage); | 1524 res = cfmt->convertFrom(outImage, &cimage); |
1525 else | 1525 else |
1526 res = dmC64ConvertGenericBMP2Image(outImage, &cimage); | 1526 res = dmC64ConvertGenericBMP2Image(outImage, &cimage); |
1527 | 1527 |
1528 if (res != DMERR_OK || outImage == NULL) | 1528 if (res != DMERR_OK || outImage == NULL) |
1529 { | 1529 { |