From efeea95dcc9094528dcce59abc475046835ecd6a Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sun, 15 May 2005 21:26:11 +0000 Subject: [PATCH] fix GetRow parameters (Nicolai Haehnle) --- src/mesa/swrast/s_depth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/swrast/s_depth.c b/src/mesa/swrast/s_depth.c index e36878e..9f17bb1 100644 --- a/src/mesa/swrast/s_depth.c +++ b/src/mesa/swrast/s_depth.c @@ -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]; -- 2.7.4