Replaced various '#define' with actual strings - part 3

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/30/head
Michele Calgaro 1 year ago
parent 36618cb2c5
commit c53b2fa4e7
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -336,7 +336,7 @@ void MoonWidget::renderGraphic()
TQRgb *destline = (TQRgb*)dest.scanLine(y);
TQRgb *sourceline = (TQRgb*)Mask2.scanLine(y);
for (int x = 0; x < mw; x++) {
destline[x] = (destline[x] & TQRGB_MASK)|(tqRed(sourceline[x]) << 24);
destline[x] = (destline[x] & TQT_RGB_MASK)|(tqRed(sourceline[x]) << 24);
}
}
}

Loading…
Cancel
Save