diff options
author | Brian Paul <brianp@vmware.com> | 2009-05-19 10:02:55 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-06-17 11:30:02 -0600 |
commit | 5c97b0f27dc6b7cfbe32b8bc8e8c98f832247e93 (patch) | |
tree | 3d69e411a23ade767400352a7c6943c7794e8edb | |
parent | 9e7ddd086ffe8a2e3fa0d41fa441d802964c75d9 (diff) |
mesa: assign trb->Base.StencilBits in update_wrapper().
When we render to a depth/stencil texture there are stencil bits.
(cherry picked from commit c99a60c40d4ece363d37a5af895124f08a645c6b)
-rw-r--r-- | src/mesa/main/texrender.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/texrender.c b/src/mesa/main/texrender.c index 49de6f5b8a..cc74d58fbd 100644 --- 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; } |