projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ce105d
)
mesa: assign trb->Base.StencilBits in update_wrapper().
author
Brian Paul
<brianp@vmware.com>
Tue, 19 May 2009 15:57:01 +0000
(09:57 -0600)
committer
Brian Paul
<brianp@vmware.com>
Tue, 19 May 2009 15:57:01 +0000
(09:57 -0600)
When we render to a depth/stencil texture there are stencil bits.
src/mesa/main/texrender.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/texrender.c
b/src/mesa/main/texrender.c
index 49de6f5b8abd4ea6a468991f4f16b7fff72543cf..cc74d58fbd181de19cf3f6d47d1ff50855f2de3a 100644
(file)
--- a/
src/mesa/main/texrender.c
+++ b/
src/mesa/main/texrender.c
@@
-507,6
+507,7
@@
update_wrapper(GLcontext *ctx, const struct gl_renderbuffer_attachment *att)
trb->Base.BlueBits = trb->TexImage->TexFormat->BlueBits;
trb->Base.AlphaBits = trb->TexImage->TexFormat->AlphaBits;
trb->Base.DepthBits = trb->TexImage->TexFormat->DepthBits;
+ trb->Base.StencilBits = trb->TexImage->TexFormat->StencilBits;
}