From bd31fb346398ca350a5e251a5d104ee1c8b33454 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sat, 24 Dec 2011 08:54:26 -0700 Subject: [PATCH] swrast: remove needless assignment in draw_depth_stencil_pixels() Reviewed-by: Eric Anholt --- src/mesa/swrast/s_drawpix.c | 1 - 1 file changed, 1 deletion(-) 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 *) -- 2.30.2