projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1a9858
)
remove unused var
author
Brian Paul
<brian.paul@tungstengraphics.com>
Thu, 6 Apr 2006 16:24:01 +0000
(16:24 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Thu, 6 Apr 2006 16:24:01 +0000
(16:24 +0000)
src/mesa/swrast/s_depth.c
patch
|
blob
|
history
diff --git
a/src/mesa/swrast/s_depth.c
b/src/mesa/swrast/s_depth.c
index ab5dbce64c5af8582358658cf50eaf9de148aef7..1001cea35246e7394c7691f4b1ad73a7d214bebd 100644
(file)
--- 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));