summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian <[email protected]>2008-03-28 13:24:00 -0600
committerBrian <[email protected]>2008-03-28 13:25:25 -0600
commit767dfa5b9c07fe6ae267e1ff0d3bbbf093a04c44 (patch)
treeb318e28b14ac455b5b9e46bf4a4275917a0a6dc5 /src
parent7ff5b381263a8c6011185fffb48dad76666860a2 (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 8e7d66cb9c9..bbdc46f002f 100644
--- a/src/mesa/main/fbobject.c
+++ b/src/mesa/main/fbobject.c
@@ -302,7 +302,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 {