diff options
author | Brian Paul <[email protected]> | 2008-03-28 13:10:16 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-03-28 13:10:16 -0600 |
commit | 13041da714106ae61b4184b79e847c2b382e07ad (patch) | |
tree | 8a545a55c1672f723ce5113143c877539052a026 | |
parent | de3634fca8f93223647a54f49f066494447906bb (diff) |
mesa: fix texture/renderbuffer mix-up in test_attachment_completeness()
-rw-r--r-- | src/mesa/main/fbobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c index 6a8cba4d8a9..800f6ee9a31 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 { |