Mercurial > hg > dmlib
diff 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 |
line wrap: on
line diff
--- a/src/libgfx.c Fri Aug 18 02:03:15 2017 +0300 +++ b/src/libgfx.c Fri Aug 18 02:05:25 2017 +0300 @@ -1092,6 +1092,18 @@ } break; +/* + case 1: + for (int nplane = 0; nplane < hdr.nplanes; nplane++) + { + Uint8 *dptr = dp, + *sptr = pcx.buf + (hdr.bpl * nplane); + + for (int xc = 0; xc < img->width; xc++) + } + break; +*/ + default: res = dmError(DMERR_INVALID_DATA, "PCX: Unsupported number of bits per plane %d.\n",