From: Brian Paul Date: Sat, 24 Dec 2011 15:54:26 +0000 (-0700) Subject: swrast: remove needless assignment in draw_depth_stencil_pixels() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bd31fb346398ca350a5e251a5d104ee1c8b33454;p=mesa.git swrast: remove needless assignment in draw_depth_stencil_pixels() Reviewed-by: Eric Anholt --- diff --git a/src/mesa/swrast/s_drawpix.c b/src/mesa/swrast/s_drawpix.c index 7259881c19a..4a661a0d73a 100644 --- a/src/mesa/swrast/s_drawpix.c +++ b/src/mesa/swrast/s_drawpix.c @@ -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 *)