set depthHasSurface for stencil renderbuffer
authorBrian Paul <brian.paul@tungstengraphics.com>
Fri, 2 Sep 2005 13:20:20 +0000 (13:20 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Fri, 2 Sep 2005 13:20:20 +0000 (13:20 +0000)
src/mesa/drivers/dri/radeon/radeon_screen.c

index e32cfda0599a75ab7ac8adb6fc85ad93ae4bc72c..a95b3672fcc9d2f82a32f864295a429afca9ecb0 100644 (file)
@@ -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,