From: Brian Paul Date: Sat, 4 Jun 2005 17:53:30 +0000 (+0000) Subject: fix an assertion X-Git-Tag: mesa-7.8~9063 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5ec5c6b22262e83706f8b1c42d9e6b5b432a7f8b;p=platform%2Fupstream%2Fmesa.git fix an assertion --- diff --git a/src/mesa/swrast/s_logic.c b/src/mesa/swrast/s_logic.c index 40ece9f..56bc012 100644 --- a/src/mesa/swrast/s_logic.c +++ b/src/mesa/swrast/s_logic.c @@ -215,7 +215,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_INT); + ASSERT(rb->DataType == GL_UNSIGNED_BYTE); if (span->arrayMask & SPAN_XY) { rb->GetValues(ctx, rb, span->end, span->array->x, span->array->y, dest);