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 e36878e..9f17bb1 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];