fixed inequality in an assertion
authorBrian Paul <brian.paul@tungstengraphics.com>
Wed, 27 Mar 2002 15:49:27 +0000 (15:49 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Wed, 27 Mar 2002 15:49:27 +0000 (15:49 +0000)
src/mesa/swrast/s_blend.c

index 52409cde972a1a3b73030dd0356478dff9860abe..05b38fd5807578393a414104e10f64a2ae551a24 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: s_blend.c,v 1.13 2002/02/12 16:45:22 kschultz Exp $ */
+/* $Id: s_blend.c,v 1.14 2002/03/27 15:49:27 brianp Exp $ */
 
 /*
  * Mesa 3-D graphics library
@@ -677,7 +677,7 @@ _mesa_blend_span( GLcontext *ctx, const struct sw_span *span,
    SWcontext *swrast = SWRAST_CONTEXT(ctx);
    GLchan framebuffer[MAX_WIDTH][4];
 
-   ASSERT(span->end < MAX_WIDTH);
+   ASSERT(span->end <= MAX_WIDTH);
    ASSERT(span->arrayMask & SPAN_RGBA);
    ASSERT(!ctx->Color.ColorLogicOpEnabled);