From: Brian Paul Date: Fri, 2 Sep 2005 13:20:20 +0000 (+0000) Subject: set depthHasSurface for stencil renderbuffer X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=350a1676357301f3d103b6d16d01c766644bf872;p=mesa.git set depthHasSurface for stencil renderbuffer --- diff --git a/src/mesa/drivers/dri/radeon/radeon_screen.c b/src/mesa/drivers/dri/radeon/radeon_screen.c index e32cfda0599..a95b3672fcc 100644 --- a/src/mesa/drivers/dri/radeon/radeon_screen.c +++ b/src/mesa/drivers/dri/radeon/radeon_screen.c @@ -517,6 +517,7 @@ radeonCreateBuffer( __DRIscreenPrivate *driScrnPriv, screen->depthOffset, screen->depthPitch); radeonSetSpanFunctions(stencilRb, mesaVis); _mesa_add_renderbuffer(fb, BUFFER_STENCIL, &stencilRb->Base); + stencilRb->depthHasSurface = screen->depthHasSurface; } _mesa_add_soft_renderbuffers(fb,