From: Brian Date: Fri, 28 Mar 2008 19:24:12 +0000 (-0600) Subject: fix texture/renderbuffer mix-up in test_attachment_completeness() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=635e96471218d5ada3fa7930fc1a746ec2aa4423;p=mesa.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 671f80c7a48..9b60c732940 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 {