diff options
author | Brian Paul <[email protected]> | 2012-02-20 11:07:00 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2012-02-24 08:03:08 -0700 |
commit | 47d88ef204b42a9220c6be3e98c92df9c9aa0860 (patch) | |
tree | db21898e4a2d49e47f05593547babf4776c233c6 /src/mesa/swrast/s_masking.c | |
parent | b5d096ac1ac075380d597133a484446afaa3571b (diff) |
swrast: define, use SWRAST_MAX_WIDTH/HEIGHT
We'll get rid of MAX_WIDTH, MAX_HEIGHT soon.
Diffstat (limited to 'src/mesa/swrast/s_masking.c')
-rw-r--r-- | src/mesa/swrast/s_masking.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_masking.c b/src/mesa/swrast/s_masking.c index 2d962ebc5c3..4f262fa976b 100644 --- a/src/mesa/swrast/s_masking.c +++ b/src/mesa/swrast/s_masking.c @@ -46,7 +46,7 @@ _swrast_mask_rgba_span(struct gl_context *ctx, struct gl_renderbuffer *rb, const GLuint n = span->end; void *rbPixels; - ASSERT(n < MAX_WIDTH); + ASSERT(n < SWRAST_MAX_WIDTH); ASSERT(span->arrayMask & SPAN_RGBA); rbPixels = _swrast_get_dest_rgba(ctx, rb, span); |