swrast: remove needless assignment in draw_depth_stencil_pixels()
authorBrian Paul <brianp@vmware.com>
Sat, 24 Dec 2011 15:54:26 +0000 (08:54 -0700)
committerBrian Paul <brianp@vmware.com>
Sat, 24 Dec 2011 15:59:53 +0000 (08:59 -0700)
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/swrast/s_drawpix.c

index 7259881..4a661a0 100644 (file)
@@ -617,7 +617,6 @@ draw_depth_stencil_pixels(struct gl_context *ctx, GLint x, GLint y,
       GLint i;
 
       depthRb = ctx->DrawBuffer->_DepthBuffer;
-      stencilRb = ctx->DrawBuffer->_StencilBuffer;
 
       for (i = 0; i < height; i++) {
          const GLuint *depthStencilSrc = (const GLuint *)