Stencil fbo attachments

H. Verbeet hverbeet at
Wed Jul 18 07:17:08 CDT 2007

On 18/07/07, Stefan Dösinger <stefandoesinger at> wrote:
> > Renderbuffers might be ok, but I'm not completely sure.
> Apparently not :-(
> I tried to get it working, but I didn't have any luck. Either I am missing
> something, or it just doesn't work. My attempt is attached

>+        GL_EXTCALL(glFramebufferTexture2DEXT(GL_FRAMEBUFFER_EXT,
You don't have to do that, attaching the renderbuffer removes the
previous attachment. The has_stencil check is rather ugly, of course.

> So it looks like we just have to use GL_EXT_packed_depth_stencil. That makes
> the extension check obsolete too because we can't get anything better than a
Not really, you can still attach a regular depth format in that cause.
Not all applications that use D24S8 actually use the stencil buffer.

More information about the wine-devel mailing list