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 7259881c19aff05bbc46f028769a67b071299fdb..4a661a0d73ac4a212efced4dbc6a02272372dc53 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 *)