summaryrefslogtreecommitdiff
path: root/src/mesa/swrast_setup
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2006-04-14 02:28:26 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2006-04-14 02:28:26 +0000
commita76c216b3709c2f6b29f3265d58f3c1d6f0a1559 (patch)
treeb17b88f6523c6060d6e11f7ffabd3b10c078c6d6 /src/mesa/swrast_setup
parent780155ab31324f1c74f3505a0ab245cb9f2c8c81 (diff)
s/MaxTextureUnits/MaxTextureCoordUnits/
Diffstat (limited to 'src/mesa/swrast_setup')
-rw-r--r--src/mesa/swrast_setup/ss_context.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/mesa/swrast_setup/ss_context.c b/src/mesa/swrast_setup/ss_context.c
index 7b25d14a0c..0ce81e0487 100644
--- a/src/mesa/swrast_setup/ss_context.c
+++ b/src/mesa/swrast_setup/ss_context.c
@@ -217,10 +217,8 @@ _swsetup_Wakeup( GLcontext *ctx )
}
-
-
-
-/* Populate a swrast SWvertex from an attrib-style vertex.
+/**
+ * Populate a swrast SWvertex from an attrib-style vertex.
*/
void
_swsetup_Translate( GLcontext *ctx, const void *vertex, SWvertex *dest )
@@ -237,7 +235,7 @@ _swsetup_Translate( GLcontext *ctx, const void *vertex, SWvertex *dest )
dest->win[3] = tmp[3];
- for (i = 0 ; i < ctx->Const.MaxTextureUnits ; i++)
+ for (i = 0 ; i < ctx->Const.MaxTextureCoordUnits ; i++)
_tnl_get_attr( ctx, vertex, _TNL_ATTRIB_TEX0+i, dest->texcoord[i] );
_tnl_get_attr( ctx, vertex, _TNL_ATTRIB_COLOR0, tmp );