summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/r200
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2005-09-02 03:28:08 +0000
committerBrian Paul <[email protected]>2005-09-02 03:28:08 +0000
commitb343f06a0963dda416754ce2511b32afd3fadabe (patch)
tree57da048c4ea5e4660850b786ec66677d106a5178 /src/mesa/drivers/dri/r200
parentf519a770d074dac9e188e3b450c828510506c46d (diff)
set depthHasSurface field for stencil renderbuffer
Diffstat (limited to 'src/mesa/drivers/dri/r200')
-rw-r--r--src/mesa/drivers/dri/r200/r200_screen.c1
1 files changed, 1 insertions, 0 deletions
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,