From 5ec5c6b22262e83706f8b1c42d9e6b5b432a7f8b Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sat, 4 Jun 2005 17:53:30 +0000 Subject: [PATCH] fix an assertion --- src/mesa/swrast/s_logic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.30.2