From: Laura Ekstrand Date: Tue, 27 Jan 2015 22:11:13 +0000 (-0800) Subject: main: Fix the indentation in framebuffer_texture X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8f78c6889d508d40c82229ea3fa09a78b4ea2e17;p=mesa.git main: Fix the indentation in framebuffer_texture Reviewed-by: Fredrik Höglund Signed-off-by: Fredrik Höglund --- diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c index ea6e273fda3..9486ded05a0 100644 --- a/src/mesa/main/fbobject.c +++ b/src/mesa/main/fbobject.c @@ -2731,7 +2731,8 @@ framebuffer_texture(struct gl_context *ctx, const char *caller, GLenum target, BUFFER_DEPTH); } else { set_texture_attachment(ctx, fb, att, texObj, textarget, - level, zoffset, layered); + level, zoffset, layered); + 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