mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-16 13:14:44 +00:00
"Put alpha" ink behaves as default ink in indexed mode
This commit is contained in:
parent
04f3c522ba
commit
b7ff1d990d
@ -166,7 +166,7 @@ void PutAlphaInkProcessing<GrayscaleTraits>::processPixel(int x, int y) {
|
|||||||
|
|
||||||
template<>
|
template<>
|
||||||
void PutAlphaInkProcessing<IndexedTraits>::processPixel(int x, int y) {
|
void PutAlphaInkProcessing<IndexedTraits>::processPixel(int x, int y) {
|
||||||
// Do nothing, as indexed images doesn't have alpha channel.
|
*m_dstAddress = m_color;
|
||||||
}
|
}
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////
|
||||||
|
Loading…
Reference in New Issue
Block a user