Add support for StencilWriteMask to OpenGL backend
Merge pull request #2640 from prollin/patch-2

Add support for StencilWriteMask to OpenGL backend