summaryrefslogtreecommitdiff
path: root/src/mesa/swrast/s_texture.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2005-09-06 02:44:00 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2005-09-06 02:44:00 +0000
commit3622f4f27fe51edff0717e4a42623f62e2936e90 (patch)
tree9ccf51420713e1485244eadfbaefac6acc723426 /src/mesa/swrast/s_texture.c
parentfcb6a0fa3e1ff351b2613e4f7f4ab5bc91e6c95d (diff)
don't use DEFARRAY/CHECKARRAY stuff
Diffstat (limited to 'src/mesa/swrast/s_texture.c')
-rw-r--r--src/mesa/swrast/s_texture.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mesa/swrast/s_texture.c b/src/mesa/swrast/s_texture.c
index c75d826d2c..e7eb9bf2e3 100644
--- a/src/mesa/swrast/s_texture.c
+++ b/src/mesa/swrast/s_texture.c
@@ -2874,8 +2874,7 @@ texture_combine( const GLcontext *ctx, GLuint unit, GLuint n,
GLuint numAlphaArgs;
/* GLchan ccolor[3][4]; */
- DEFMNARRAY(GLchan, ccolor, 3, 3 * MAX_WIDTH, 4); /* mac 32k limitation */
- CHECKARRAY(ccolor, return); /* mac 32k limitation */
+ GLchan ccolor[3][MAX_WIDTH][4];
ASSERT(ctx->Extensions.EXT_texture_env_combine ||
ctx->Extensions.ARB_texture_env_combine);
@@ -3509,7 +3508,6 @@ texture_combine( const GLcontext *ctx, GLuint unit, GLuint n,
rgba[i][ACOMP] = rgba[i][RCOMP];
}
}
- UNDEFARRAY(ccolor); /* mac 32k limitation */
}
#undef PROD