From: Brian Paul Date: Fri, 28 Mar 2008 19:10:16 +0000 (-0600) Subject: mesa: fix texture/renderbuffer mix-up in test_attachment_completeness() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=13041da714106ae61b4184b79e847c2b382e07ad;p=mesa.git mesa: fix texture/renderbuffer mix-up in test_attachment_completeness() --- diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c index 6a8cba4d8a9..800f6ee9a31 100644 --- a/src/mesa/main/fbobject.c +++ b/src/mesa/main/fbobject.c @@ -307,7 +307,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 {