summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2008-03-28 13:24:12 -0600
committerBrian <brian.paul@tungstengraphics.com>2008-03-28 13:24:39 -0600
commit635e96471218d5ada3fa7930fc1a746ec2aa4423 (patch)
treeabeea953ccfd2e58f98ec636a1f28610e8d5ab41 /src
parent184cf464f4183a664fa0358fe118735e6fd98afe (diff)
fix texture/renderbuffer mix-up in test_attachment_completeness()
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/fbobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c
index 671f80c7a4..9b60c73294 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 {