diff options
author | Brian Paul <[email protected]> | 2006-04-27 02:50:31 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2006-04-27 02:50:31 +0000 |
commit | c4fe46f0b8b45407ea40500b869ae1beca71063c (patch) | |
tree | 49278ff60f8e6af5f127cff10c266565245f2f4c /src/mesa/swrast/s_logic.c | |
parent | 444cd293fd69d1848b2c55f75674d563e0582fba (diff) |
fixes for CHAN_BITS!=8
Diffstat (limited to 'src/mesa/swrast/s_logic.c')
-rw-r--r-- | src/mesa/swrast/s_logic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_logic.c b/src/mesa/swrast/s_logic.c index ff3c3fc2f14..60458c2b804 100644 --- a/src/mesa/swrast/s_logic.c +++ b/src/mesa/swrast/s_logic.c @@ -216,7 +216,7 @@ _swrast_logicop_rgba_span(GLcontext *ctx, struct gl_renderbuffer *rb, ASSERT(span->end < MAX_WIDTH); ASSERT(span->arrayMask & SPAN_RGBA); - ASSERT(rb->DataType == GL_UNSIGNED_BYTE); + ASSERT(rb->DataType == CHAN_TYPE); if (span->arrayMask & SPAN_XY) { _swrast_get_values(ctx, rb, span->end, span->array->x, span->array->y, |