fix maskpos (I think... needs testing)
svn-id: r12229
This commit is contained in:
parent
467861917d
commit
a655527949
1 changed files with 1 additions and 1 deletions
|
@ -327,7 +327,7 @@ void NutRenderer::drawChar(byte *dst, byte *mask, byte c, int x, int y, byte col
|
|||
|
||||
for (int ty = minY; ty < height; ty++) {
|
||||
maskmask = revBitMask[(x + minX) & 7];
|
||||
maskpos = minX;
|
||||
maskpos = (x%8 + minX) / 8;
|
||||
for (int tx = minX; tx < width; tx++) {
|
||||
if (src[tx] != 0) {
|
||||
dst[tx] = color;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue