summaryrefslogtreecommitdiff
path: root/src/mesa/main/rastpos.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2000-09-30 18:42:29 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2000-09-30 18:42:29 +0000
commit9c05c0494d06dcf429d8489107be49e339305690 (patch)
tree2f3f80b9f30d84c8d20f388152e3220663df29e8 /src/mesa/main/rastpos.c
parent4f66498304674aa2e016267e4d6c4b878c3ad1e5 (diff)
support for N texture units
Diffstat (limited to 'src/mesa/main/rastpos.c')
-rw-r--r--src/mesa/main/rastpos.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/rastpos.c b/src/mesa/main/rastpos.c
index da0ccee7e9..34359e46e7 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] );
}