-/* $Id: s_points.c,v 1.12 2001/01/23 23:39:37 brianp Exp $ */
+/* $Id: s_points.c,v 1.14 2001/03/03 20:33:30 brianp Exp $ */
/*
* Mesa 3-D graphics library
#include "glheader.h"
+#include "colormac.h"
#include "context.h"
#include "macros.h"
#include "mmath.h"
+void _swrast_add_spec_terms_point( GLcontext *ctx,
+ const SWvertex *v0 )
+{
+ SWvertex *ncv0 = (SWvertex *)v0;
+ GLchan c[1][4];
+ COPY_CHAN4( c[0], ncv0->color );
+ ACC_3V( ncv0->color, ncv0->specular );
+ SWRAST_CONTEXT(ctx)->SpecPoint( ctx, ncv0 );
+ COPY_CHAN4( ncv0->color, c[0] );
+}
+
+
/* record the current point function name */
#ifdef DEBUG
}
}
else if (ctx->RenderMode==GL_FEEDBACK) {
- USE(gl_feedback_point);
+ USE(_mesa_feedback_point);
}
else {
/* GL_SELECT mode */
- USE(gl_select_point);
+ USE(_mesa_select_point);
}
}
+