diff options
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/swrast/s_depth.c | 2 |
1 files changed, 1 insertions, 1 deletions
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]; |