Store mapped single channel texture with alpha of 255 just to be safe

This commit is contained in:
sabrina-shanman 2019-02-11 09:07:45 -08:00
parent f7d7136b3e
commit 5840f272ed

View file

@ -255,7 +255,7 @@ void mapToRedChannel(QImage& image, ColorChannelMapping sourceChannel) {
}
// Dump the color in the red channel, ignore the rest
*pixel = qRgba(colorValue, 0, 0, 0);
*pixel = qRgba(colorValue, 0, 0, 255);
}
}
}