summaryrefslogtreecommitdiff
path: root/src/mesa/swrast/s_depth.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2006-04-06 16:24:01 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2006-04-06 16:24:01 +0000
commitc1c954e81baf9742bce5f73b622dba2016e0416a (patch)
tree0e49e74169d5cdc6c5d3b518e7085cd03c0a4630 /src/mesa/swrast/s_depth.c
parenta1a9858ca31e47b1e567b2ba94ffbf01c20231a6 (diff)
remove unused var
Diffstat (limited to 'src/mesa/swrast/s_depth.c')
-rw-r--r--src/mesa/swrast/s_depth.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/swrast/s_depth.c b/src/mesa/swrast/s_depth.c
index ab5dbce64c..1001cea352 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));