From b343f06a0963dda416754ce2511b32afd3fadabe Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 2 Sep 2005 03:28:08 +0000 Subject: set depthHasSurface field for stencil renderbuffer --- src/mesa/drivers/dri/r200/r200_screen.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/mesa/drivers/dri/r200/r200_screen.c b/src/mesa/drivers/dri/r200/r200_screen.c index 779ce5a531c..a8dacaf5d8d 100644 --- a/src/mesa/drivers/dri/r200/r200_screen.c +++ b/src/mesa/drivers/dri/r200/r200_screen.c @@ -592,6 +592,7 @@ r200CreateBuffer( __DRIscreenPrivate *driScrnPriv, screen->depthOffset, screen->depthPitch); r200SetSpanFunctions(stencilRb, mesaVis); _mesa_add_renderbuffer(fb, BUFFER_STENCIL, &stencilRb->Base); + stencilRb->depthHasSurface = screen->depthHasSurface; } _mesa_add_soft_renderbuffers(fb, -- cgit v1.2.3