From c1c954e81baf9742bce5f73b622dba2016e0416a Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 6 Apr 2006 16:24:01 +0000 Subject: [PATCH] remove unused var --- src/mesa/swrast/s_depth.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/mesa/swrast/s_depth.c b/src/mesa/swrast/s_depth.c index ab5dbce64c5..1001cea3524 100644 --- a/src/mesa/swrast/s_depth.c +++ b/src/mesa/swrast/s_depth.c @@ -1271,8 +1271,6 @@ void _swrast_read_depth_span_uint( GLcontext *ctx, struct gl_renderbuffer *rb, GLint n, GLint x, GLint y, GLuint depth[] ) { - const GLfloat scale = 1.0F / ctx->DrawBuffer->_DepthMaxF; - if (!rb) { /* really only doing this to prevent FP exceptions later */ _mesa_bzero(depth, n * sizeof(GLfloat)); -- 2.30.2