Reformat stencilToAlpha a bit
Restore Alpha/ColorDoubling to do before color test
Merge pull request #4910 from raven02/patch-24

Reformat stencilToAlpha a bit