summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2005-09-02 13:20:20 +0000
committerBrian Paul <[email protected]>2005-09-02 13:20:20 +0000
commit350a1676357301f3d103b6d16d01c766644bf872 (patch)
tree34dbee25d1373a8abb1a062bf32e4ee19d45e93e /src
parent3c450b2917ee2eef06197b9ef546f19d06b7d76a (diff)
set depthHasSurface for stencil renderbuffer
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/radeon/radeon_screen.c1
1 files changed, 1 insertions, 0 deletions
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,