commit | 635e96471218d5ada3fa7930fc1a746ec2aa4423 | [log] [tgz] |
---|---|---|
author | Brian <brian.paul@tungstengraphics.com> | Fri Mar 28 13:24:12 2008 -0600 |
committer | Brian <brian.paul@tungstengraphics.com> | Fri Mar 28 13:24:39 2008 -0600 |
tree | abeea953ccfd2e58f98ec636a1f28610e8d5ab41 | |
parent | 184cf464f4183a664fa0358fe118735e6fd98afe [diff] [blame] |
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 @@ /* 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 {