summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2008-03-28 13:10:16 -0600
committerBrian Paul <brian.paul@tungstengraphics.com>2008-03-28 13:10:16 -0600
commit13041da714106ae61b4184b79e847c2b382e07ad (patch)
tree8a545a55c1672f723ce5113143c877539052a026 /src
parentde3634fca8f93223647a54f49f066494447906bb (diff)
mesa: 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 6a8cba4d8a..800f6ee9a3 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 {