From: Brian Paul Date: Tue, 19 May 2009 15:57:01 +0000 (-0600) Subject: mesa: assign trb->Base.StencilBits in update_wrapper(). X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c99a60c40d4ece363d37a5af895124f08a645c6b;p=mesa.git mesa: assign trb->Base.StencilBits in update_wrapper(). When we render to a depth/stencil texture there are stencil bits. --- 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; }