mono/MonoGame — pull request #1721 by Syrco (2013-05-10 15:41:18+00:00)
Title: Made stencil work on iOS

Stencil doesn't work on iOS when rendering directly to screen because its framebuffer is created with no consideration of PreferredDepthStencilFormat.
A better fix would be to consider that, but I didn't want to start digging in the code, and since the depth buffer is already hard coded, I just added that there.