summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_aatritemp.h
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2012-02-20 11:07:00 -0700
committerBrian Paul <brianp@vmware.com>2012-02-24 08:03:08 -0700
commit47d88ef204b42a9220c6be3e98c92df9c9aa0860 (patch)
treedb21898e4a2d49e47f05593547babf4776c233c6 /src/mesa/swrast/s_aatritemp.h
parentb5d096ac1ac075380d597133a484446afaa3571b (diff)
downloadexternal_mesa3d-47d88ef204b42a9220c6be3e98c92df9c9aa0860.zip
external_mesa3d-47d88ef204b42a9220c6be3e98c92df9c9aa0860.tar.gz
external_mesa3d-47d88ef204b42a9220c6be3e98c92df9c9aa0860.tar.bz2
swrast: define, use SWRAST_MAX_WIDTH/HEIGHT
We'll get rid of MAX_WIDTH, MAX_HEIGHT soon.
Diffstat (limited to 'src/mesa/swrast/s_aatritemp.h')
-rw-r--r--src/mesa/swrast/s_aatritemp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_aatritemp.h b/src/mesa/swrast/s_aatritemp.h
index 77b3ae6..9cdb35f 100644
--- a/src/mesa/swrast/s_aatritemp.h
+++ b/src/mesa/swrast/s_aatritemp.h
@@ -196,7 +196,7 @@
span.array = SWRAST_CONTEXT(ctx)->SpanArrays + omp_get_thread_num();
#endif
/* skip over fragments with zero coverage */
- while (startX < MAX_WIDTH) {
+ while (startX < SWRAST_MAX_WIDTH) {
coverage = compute_coveragef(pMin, pMid, pMax, startX, iy);
if (coverage > 0.0F)
break;