comparison src/libgfx.c @ 1280:300a51e98fc3

Bump version and copyright.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 18 Aug 2017 02:05:25 +0300
parents 0d3f5f44c0c4
children 767b6ad59599
comparison
equal deleted inserted replaced
1279:0d3f5f44c0c4 1280:300a51e98fc3
1089 1089
1090 for (int xc = 0; xc < img->width; xc += hdr.nplanes, dptr += hdr.nplanes, sptr++) 1090 for (int xc = 0; xc < img->width; xc += hdr.nplanes, dptr += hdr.nplanes, sptr++)
1091 *dptr = *sptr; 1091 *dptr = *sptr;
1092 } 1092 }
1093 break; 1093 break;
1094
1095 /*
1096 case 1:
1097 for (int nplane = 0; nplane < hdr.nplanes; nplane++)
1098 {
1099 Uint8 *dptr = dp,
1100 *sptr = pcx.buf + (hdr.bpl * nplane);
1101
1102 for (int xc = 0; xc < img->width; xc++)
1103 }
1104 break;
1105 */
1094 1106
1095 default: 1107 default:
1096 res = dmError(DMERR_INVALID_DATA, 1108 res = dmError(DMERR_INVALID_DATA,
1097 "PCX: Unsupported number of bits per plane %d.\n", 1109 "PCX: Unsupported number of bits per plane %d.\n",
1098 hdr.bitsPerPlane); 1110 hdr.bitsPerPlane);