From: Brian Paul Date: Sat, 4 Jun 2005 17:53:30 +0000 (+0000) Subject: fix an assertion X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5ec5c6b22262e83706f8b1c42d9e6b5b432a7f8b;p=mesa.git fix an assertion --- diff --git a/src/mesa/swrast/s_logic.c b/src/mesa/swrast/s_logic.c index 40ece9f73cb..56bc01203a8 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);