fix an assertion
authorBrian Paul <brian.paul@tungstengraphics.com>
Sat, 4 Jun 2005 17:53:30 +0000 (17:53 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Sat, 4 Jun 2005 17:53:30 +0000 (17:53 +0000)
src/mesa/swrast/s_logic.c

index 40ece9f73cb017156c1b01c7392de652bf5542e3..56bc01203a84e2dde8156d7c9da97ca48e16462d 100644 (file)
@@ -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);