summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-05-19 09:57:01 -0600
committerBrian Paul <brianp@vmware.com>2009-05-19 09:57:01 -0600
commitc99a60c40d4ece363d37a5af895124f08a645c6b (patch)
treed8a2d98519e84cdecebbf4f0a7a1b8d6aea674bd /src
parent7ce105d2e6885eeac73c59dc14c4cd59a89c1425 (diff)
mesa: assign trb->Base.StencilBits in update_wrapper().
When we render to a depth/stencil texture there are stencil bits.
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/texrender.c1
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;
}