From: Brian Paul Date: Fri, 14 Apr 2006 02:28:26 +0000 (+0000) Subject: s/MaxTextureUnits/MaxTextureCoordUnits/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a76c216b3709c2f6b29f3265d58f3c1d6f0a1559;p=mesa.git s/MaxTextureUnits/MaxTextureCoordUnits/ --- diff --git a/src/mesa/swrast_setup/ss_context.c b/src/mesa/swrast_setup/ss_context.c index 7b25d14a0ca..0ce81e0487f 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 );