mesa: fix texture/renderbuffer mix-up in test_attachment_completeness()

This commit is contained in:
Brian Paul
2008-03-28 13:10:16 -06:00
parent de3634fca8
commit 13041da714

View File

@@ -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 {