Mercurial > hg > dmlib
comparison tools/libgfx.c @ 1814:0b7062d874ef
Use dmMemset() instead of memset().
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 21 Jun 2018 17:22:32 +0300 |
parents | c9197a038e8e |
children | fe15412eec10 |
comparison
equal
deleted
inserted
replaced
1813:cfe9807a1e64 | 1814:0b7062d874ef |
---|---|
1331 } | 1331 } |
1332 } | 1332 } |
1333 break; | 1333 break; |
1334 | 1334 |
1335 case 1: | 1335 case 1: |
1336 memset(dp, 0, img->width); | 1336 dmMemset(dp, 0, img->width); |
1337 | 1337 |
1338 for (int nplane = 0; nplane < hdr.nplanes; nplane++) | 1338 for (int nplane = 0; nplane < hdr.nplanes; nplane++) |
1339 { | 1339 { |
1340 Uint8 *sptr = pcx.buf + (hdr.bpl * nplane); | 1340 Uint8 *sptr = pcx.buf + (hdr.bpl * nplane); |
1341 | 1341 |