radeon/fbo: stencil bits fix from Michel in intel fbo code
authorDave Airlie <airlied@linux.ie>
Mon, 13 Jul 2009 13:02:54 +0000 (23:02 +1000)
committerDave Airlie <airlied@linux.ie>
Mon, 13 Jul 2009 15:23:23 +0000 (01:23 +1000)
src/mesa/drivers/dri/radeon/radeon_fbo.c

index 1f4fad30c7c8b48deef08b4d4e92628fab82ab26..6d8417cc89091ac6f7a8c20932630c8bd54eb1f4 100644 (file)
@@ -450,6 +450,7 @@ restart:
        rrb->base.BlueBits = texImage->TexFormat->BlueBits;
        rrb->base.AlphaBits = texImage->TexFormat->AlphaBits;
        rrb->base.DepthBits = texImage->TexFormat->DepthBits;
+       rrb->base.StencilBits = texImage->TexFormat->StencilBits;
        
        rrb->base.Delete = radeon_delete_renderbuffer;
        rrb->base.AllocStorage = radeon_nop_alloc_storage;