[Mesa-dev] [PATCH] mesa: Fix glFramebufferTexture*() for depth and stencil attachments
Eric Anholt
eric at anholt.net
Fri Nov 11 11:51:50 PST 2011
On Thu, 10 Nov 2011 10:36:38 -0800, y at chad-versace.us wrote:
> + /* As above, but with depth and stencil juxtasposed. */
"juxtaposed"
> + reuse_framebuffer_texture_attachment(fb, BUFFER_STENCIL,
> + BUFFER_DEPTH);
> + } else {
> + _mesa_set_texture_attachment(ctx, fb, att, texObj, textarget,
> + level, zoffset);
> + if (attachment == GL_DEPTH_STENCIL_ATTACHMENT) {
> + /* Above we created a new renderbuffer and attached it to the
> + * depth attachment point. Now attach it to the stencil attachment
> + * point too.
> + */
> + assert(att == &fb->Attachment[BUFFER_DEPTH]);
> + reuse_framebuffer_texture_attachment(fb,BUFFER_STENCIL,
> + BUFFER_DEPTH);
Missing space. Other than that,
Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20111111/cf809a0b/attachment.pgp>
More information about the mesa-dev
mailing list