summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-05-19 09:57:01 -0600
committerBrian Paul <[email protected]>2009-05-19 09:57:01 -0600
commitc99a60c40d4ece363d37a5af895124f08a645c6b (patch)
treed8a2d98519e84cdecebbf4f0a7a1b8d6aea674bd /src/mesa
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/mesa')
-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 49de6f5b8ab..cc74d58fbd1 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;
}