summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2006-04-26 03:29:30 +0000
committerBrian Paul <[email protected]>2006-04-26 03:29:30 +0000
commit65dccf377de51d6cbc15cb968eec85ba3f1febc1 (patch)
treee6c662d010797fec252326ce488890b947113165 /src/mesa/swrast
parentfaee3f0f1e1d3e678aea64cc2c9775f8b7b00562 (diff)
fix an assertion
Diffstat (limited to 'src/mesa/swrast')
-rw-r--r--src/mesa/swrast/s_span.c2
1 files changed, 1 insertions, 1 deletions
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);
}
}