mirror of
https://github.com/lubosz/overte.git
synced 2025-04-13 20:06:16 +02:00
Store mapped single channel texture with alpha of 255 just to be safe
This commit is contained in:
parent
f7d7136b3e
commit
5840f272ed
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue