fragment program execution
[mesa.git] / src / mesa / tnl / t_vb_normals.c
index 541aa885df6e35d15d9bb15c3ca8254d0540f809..9152d7f32524aa8acdea597469ff84bee0add63e 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: t_vb_normals.c,v 1.14 2002/04/08 15:37:13 brianp Exp $ */
+/* $Id: t_vb_normals.c,v 1.17 2002/10/29 20:29:04 brianp Exp $ */
 
 /*
  * Mesa 3-D graphics library
@@ -24,7 +24,7 @@
  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  *
  * Authors:
- *    Keith Whitwell <keithw@valinux.com>
+ *    Keith Whitwell <keith@tungstengraphics.com>
  */
 
 
@@ -32,7 +32,7 @@
 #include "colormac.h"
 #include "context.h"
 #include "macros.h"
-#include "mem.h"
+#include "imports.h"
 #include "mmath.h"
 #include "mtypes.h"
 
@@ -73,9 +73,9 @@ static GLboolean run_normal_stage( GLcontext *ctx,
 
       store->NormalTransform( ctx->ModelviewMatrixStack.Top,
                              ctx->_ModelViewInvScale,
-                             VB->NormalPtr,
+                             VB->NormalPtr,  /* input normals */
                              lengths,
-                             &store->normal );
+                             &store->normal ); /* resulting normals */
    }
 
    VB->NormalPtr = &store->normal;