diff options
Diffstat (limited to 'src/mesa/main/rastpos.c')
-rw-r--r-- | src/mesa/main/rastpos.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/rastpos.c b/src/mesa/main/rastpos.c index da0ccee7e9d..34359e46e76 100644 --- a/src/mesa/main/rastpos.c +++ b/src/mesa/main/rastpos.c @@ -1,4 +1,4 @@ -/* $Id: rastpos.c,v 1.7 2000/09/26 20:53:53 brianp Exp $ */ +/* $Id: rastpos.c,v 1.8 2000/09/30 18:42:29 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -140,7 +140,7 @@ static void raster_pos4f( GLcontext *ctx, { GLuint texSet; - for (texSet=0; texSet<MAX_TEXTURE_UNITS; texSet++) { + for (texSet = 0; texSet < ctx->Const.MaxTextureUnits; texSet++) { COPY_4FV( ctx->Current.RasterMultiTexCoord[texSet], ctx->Current.Texcoord[texSet] ); } |