summaryrefslogtreecommitdiff
path: root/src/mesa/swrast/s_logic.c
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 /src/mesa/swrast/s_logic.c
parent863bd565204c7fec515457dfd6c59066309cb136 (diff)
fix an assertion
Diffstat (limited to 'src/mesa/swrast/s_logic.c')
-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 40ece9f73c..56bc01203a 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);