Source
void activateBlendMode(BlendMode blendMode) { if (!identical(blendMode, _activeBlendMode)) { _activeRenderProgram.flush(); _activeBlendMode = blendMode; _renderingContext.blendFunc(blendMode.srcFactor, blendMode.dstFactor); } }
void activateBlendMode(BlendMode blendMode) { if (!identical(blendMode, _activeBlendMode)) { _activeRenderProgram.flush(); _activeBlendMode = blendMode; _renderingContext.blendFunc(blendMode.srcFactor, blendMode.dstFactor); } }