set depthHasSurface field for stencil renderbuffer
authorBrian Paul <brian.paul@tungstengraphics.com>
Fri, 2 Sep 2005 03:28:08 +0000 (03:28 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Fri, 2 Sep 2005 03:28:08 +0000 (03:28 +0000)
src/mesa/drivers/dri/r200/r200_screen.c

index 779ce5a531c43edb43d3d49b16bb9d08ec7ae6b1..a8dacaf5d8d4c8137b2c9ea9b1e731a654ed384c 100644 (file)
@@ -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,