iOS and Stencil Buffers

This is another weird one, wondering if anybody has run into this. On iOS4 (simulator), my stencil buffers seem to be “always pass”, which is what happens when you have no stencil buffer. This is pretty much the exact same code as with the regular OpenGL version (which works on OS X, windows.) Differences: iOS, obviously, and SDL 1.3 instead of SDL 1.2.X.

As far as I’ve read, stencil buffers (always packed, though) are supported on iOS4. This isn’t FBO or anything more complex, just a regular context stencil buffer.

Anybody run into this? Is it possible it might be some setup problem in SDL 1.3/iOS? Or is there something about stencil buffers on iOS I’m not privy too?

[>] Brian