"Put alpha" ink behaves as default ink in indexed mode

This commit is contained in:
David Capello 2014-03-21 22:32:30 -03:00
parent 04f3c522ba
commit b7ff1d990d

View File

@ -166,7 +166,7 @@ void PutAlphaInkProcessing<GrayscaleTraits>::processPixel(int x, int y) {
template<>
void PutAlphaInkProcessing<IndexedTraits>::processPixel(int x, int y) {
// Do nothing, as indexed images doesn't have alpha channel.
*m_dstAddress = m_color;
}
//////////////////////////////////////////////////////////////////////