From 47d88ef204b42a9220c6be3e98c92df9c9aa0860 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 20 Feb 2012 11:07:00 -0700 Subject: swrast: define, use SWRAST_MAX_WIDTH/HEIGHT We'll get rid of MAX_WIDTH, MAX_HEIGHT soon. --- src/mesa/swrast/s_span.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/swrast/s_span.c') diff --git a/src/mesa/swrast/s_span.c b/src/mesa/swrast/s_span.c index 5cdb8ed23c8..627ef1136aa 100644 --- a/src/mesa/swrast/s_span.c +++ b/src/mesa/swrast/s_span.c @@ -1164,7 +1164,7 @@ _swrast_write_rgba_span( struct gl_context *ctx, SWspan *span) return; } - ASSERT(span->end <= MAX_WIDTH); + ASSERT(span->end <= SWRAST_MAX_WIDTH); /* Depth bounds test */ if (ctx->Depth.BoundsTest && fb->Visual.depthBits > 0) { -- cgit v1.2.3