From 65dccf377de51d6cbc15cb968eec85ba3f1febc1 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 26 Apr 2006 03:29:30 +0000 Subject: fix an assertion --- src/mesa/swrast/s_span.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/swrast/s_span.c') diff --git a/src/mesa/swrast/s_span.c b/src/mesa/swrast/s_span.c index 35735a411f9..ff3ed420c4b 100644 --- a/src/mesa/swrast/s_span.c +++ b/src/mesa/swrast/s_span.c @@ -1437,7 +1437,7 @@ _swrast_read_rgba_span( GLcontext *ctx, struct gl_renderbuffer *rb, ASSERT(rb); ASSERT(rb->GetRow); ASSERT(rb->_BaseFormat == GL_RGB || rb->_BaseFormat == GL_RGBA); - ASSERT(rb->DataType == GL_UNSIGNED_BYTE); + ASSERT(rb->DataType == CHAN_TYPE); rb->GetRow(ctx, rb, length, x + skip, y, rgba + skip); } } -- cgit v1.2.3