summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2005-06-04 17:53:30 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2005-06-04 17:53:30 +0000
commit5ec5c6b22262e83706f8b1c42d9e6b5b432a7f8b (patch)
treeae43119f5a44717d913109a4467268b9ce2cbb4c
parent863bd565204c7fec515457dfd6c59066309cb136 (diff)
fix an assertion
-rw-r--r--src/mesa/swrast/s_logic.c2
1 files changed, 1 insertions, 1 deletions
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);