Mercurial > hg > dmlib
comparison tools/lib64gfx.c @ 1387:14d79e4d82cf
Oops, 100L. Had forgotten to change singlecolor mode handling pixel getter
argument order ..
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sun, 24 Sep 2017 21:19:44 +0300 |
parents | 7eae931f7690 |
children | 4f81528aa4f6 |
comparison
equal
deleted
inserted
replaced
1386:5c3ee6f028dc | 1387:14d79e4d82cf |
---|---|
1429 const int x = xc / 8; | 1429 const int x = xc / 8; |
1430 const int scroffs = scroffsy + x; | 1430 const int scroffs = scroffsy + x; |
1431 const int bmoffs = bmoffsy + (x * 8); | 1431 const int bmoffs = bmoffsy + (x * 8); |
1432 const int vshift = 7 - (xc & 7); | 1432 const int vshift = 7 - (xc & 7); |
1433 | 1433 |
1434 *d++ = getPixel(src, bmoffs, vshift, 0, scroffs, yc); | 1434 *d++ = getPixel(src, bmoffs, scroffs, vshift, 0, yc); |
1435 } | 1435 } |
1436 else | 1436 else |
1437 // Multicolor bitmap and variants | 1437 // Multicolor bitmap and variants |
1438 for (xc = 0; xc < rwidth; xc++) | 1438 for (xc = 0; xc < rwidth; xc++) |
1439 { | 1439 { |