summaryrefslogtreecommitdiff
path: root/src/mesa/swrast/s_depth.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2005-05-15 21:26:11 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2005-05-15 21:26:11 +0000
commitefeea95dcc9094528dcce59abc475046835ecd6a (patch)
tree4fb3fdfa7083452c0024620ed52ee1ac007868fe /src/mesa/swrast/s_depth.c
parent45472672a2764e2ceaf499f586d7c337ddba731c (diff)
fix GetRow parameters (Nicolai Haehnle)
Diffstat (limited to 'src/mesa/swrast/s_depth.c')
-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];