OpenGL Stencil Buffer

Has anyone used the Stencil Buffer with the OpenGLSurface control in Xojo?

I’m struggling to find a decent example of how to use the stencil buffer.

Not to worry, just found my answer in the following thread (I need to set up the stencil with the Configure event)…

Thanks Will, you are a genius!