comparison tools/libgfx.c @ 1658:c005d84e9bf8

Rename function argument.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 30 May 2018 13:53:57 +0300
parents 2b6dbdd602b5
children 99b8ab61dc1b
comparison
equal deleted inserted replaced
1657:2b6dbdd602b5 1658:c005d84e9bf8
1622 { 1622 {
1623 return (buf[xc / 8] >> (7 - (xc & 7))) & 1; 1623 return (buf[xc / 8] >> (7 - (xc & 7))) & 1;
1624 } 1624 }
1625 1625
1626 1626
1627 static void dmDecodeBitPlane(Uint8 *dp, const Uint8 *src, const int width, const int nplane) 1627 static void dmDecodeBitPlane(Uint8 *dst, const Uint8 *src, const int width, const int nplane)
1628 { 1628 {
1629 for (int xc = 0; xc < width; xc++) 1629 for (int xc = 0; xc < width; xc++)
1630 dp[xc] |= dmDecodeBit(src, xc) << nplane; 1630 dst[xc] |= dmDecodeBit(src, xc) << nplane;
1631 } 1631 }
1632 1632
1633 1633
1634 static int dmDecodeILBMBody(DMResource *fp, DMIFF *iff, DMImage *img, Uint32 *read) 1634 static int dmDecodeILBMBody(DMResource *fp, DMIFF *iff, DMImage *img, Uint32 *read)
1635 { 1635 {