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