From: Brian Paul Date: Sun, 15 May 2005 21:26:11 +0000 (+0000) Subject: fix GetRow parameters (Nicolai Haehnle) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=efeea95dcc9094528dcce59abc475046835ecd6a;p=mesa.git fix GetRow parameters (Nicolai Haehnle) --- diff --git a/src/mesa/swrast/s_depth.c b/src/mesa/swrast/s_depth.c index e36878e6fc8..9f17bb17aa3 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];