summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mesa/swrast/s_depth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_depth.c b/src/mesa/swrast/s_depth.c
index e36878e6fc..9f17bb17aa 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];