diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2006-04-26 03:29:30 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2006-04-26 03:29:30 +0000 |
commit | 65dccf377de51d6cbc15cb968eec85ba3f1febc1 (patch) | |
tree | e6c662d010797fec252326ce488890b947113165 | |
parent | faee3f0f1e1d3e678aea64cc2c9775f8b7b00562 (diff) |
fix an assertion
-rw-r--r-- | src/mesa/swrast/s_span.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_span.c b/src/mesa/swrast/s_span.c index 35735a411f..ff3ed420c4 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); } } |