[Mesa-dev] [PATCH 13/22] swrast: remove needless assignment in draw_depth_stencil_pixels()

Brian Paul brianp at vmware.com
Sun Dec 18 19:08:18 PST 2011


---
 src/mesa/swrast/s_drawpix.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/mesa/swrast/s_drawpix.c b/src/mesa/swrast/s_drawpix.c
index 7259881..4a661a0 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 *)
-- 
1.7.3.4



More information about the mesa-dev mailing list