325
325
// because the channel flags from the source layer doesn't match with the colorspace of the projection device
326
326
// this leads to the situation that the wrong channels will be enabled/disabled
327
327
if(!channelFlags.isEmpty() && m_currentProjection->colorSpace() != device->colorSpace()) {
331
331
bool alphaFlagIsSet = (src->channelFlags(false,true) & channelFlags) == src->channelFlags(false,true);
332
332
bool allColorFlagsAreSet = (src->channelFlags(true,false) & channelFlags) == src->channelFlags(true,false);