projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de3634f
)
mesa: fix texture/renderbuffer mix-up in test_attachment_completeness()
author
Brian Paul
<brian.paul@tungstengraphics.com>
Fri, 28 Mar 2008 19:10:16 +0000
(13:10 -0600)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Fri, 28 Mar 2008 19:10:16 +0000
(13:10 -0600)
src/mesa/main/fbobject.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/fbobject.c
b/src/mesa/main/fbobject.c
index 6a8cba4d8a94ad7df64599d20331d22efa8f28b4..800f6ee9a31088ff9c12b721913c85a5baf23f2c 100644
(file)
--- 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 {