fix GetRow parameters (Nicolai Haehnle)
authorBrian Paul <brian.paul@tungstengraphics.com>
Sun, 15 May 2005 21:26:11 +0000 (21:26 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Sun, 15 May 2005 21:26:11 +0000 (21:26 +0000)
src/mesa/swrast/s_depth.c

index e36878e6fc8be0981ebfeafc59abe3e493f30ffc..9f17bb17aa31c958c41d2f66819b9373dc0084a9 100644 (file)
@@ -1234,7 +1234,7 @@ _swrast_read_depth_span( GLcontext *ctx, struct gl_renderbuffer *rb,
       _mesa_bzero(depth, n * sizeof(GLuint));
    }
    else if (rb->DataType == GL_UNSIGNED_INT) {
-      rb->GetRow(ctx, rb, x, y, n, depth);
+      rb->GetRow(ctx, rb, n, x, y, depth);
    }
    else {
       GLushort temp[MAX_WIDTH];