From: Brian Date: Fri, 28 Mar 2008 19:24:12 +0000 (-0600) Subject: fix texture/renderbuffer mix-up in test_attachment_completeness() X-Git-Tag: 062012170305~18806 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=635e96471218d5ada3fa7930fc1a746ec2aa4423;p=profile%2Fivi%2Fmesa.git fix texture/renderbuffer mix-up in test_attachment_completeness() --- diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c index 671f80c..9b60c73 100644 --- a/src/mesa/main/fbobject.c +++ b/src/mesa/main/fbobject.c @@ -303,7 +303,7 @@ test_attachment_completeness(const GLcontext *ctx, GLenum format, /* OK */ } else if (ctx->Extensions.EXT_packed_depth_stencil && - att->Renderbuffer->_BaseFormat == GL_DEPTH_STENCIL_EXT) { + texImage->TexFormat->BaseFormat == GL_DEPTH_STENCIL_EXT) { /* OK */ } else {