From 46b0988c673b28e072fd0cbf477632a9ab6f9f18 Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Fri, 16 Feb 2001 18:14:41 +0000 Subject: Allow swrast to cope (fairly) cleanly with GL_SEPERATE_SPECULAR when texturing is not enabled, and without requiring the two colors be added externally. As a part of this, collapsed the decomposition of quads into triangles inside swrast to be hardwired into _swrast_Quad; removed s_quads.[ch]. Removed checks on texture state from t_vb_light.c, which was previously required by swrast. Moved the t_dd_ templates to a new directory. --- src/mesa/swrast/s_lines.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/mesa/swrast/s_lines.h') diff --git a/src/mesa/swrast/s_lines.h b/src/mesa/swrast/s_lines.h index ea660f69f05..110f536c488 100644 --- a/src/mesa/swrast/s_lines.h +++ b/src/mesa/swrast/s_lines.h @@ -1,4 +1,4 @@ -/* $Id: s_lines.h,v 1.3 2000/11/22 07:32:18 joukj Exp $ */ +/* $Id: s_lines.h,v 1.4 2001/02/16 18:14:41 keithw Exp $ */ /* * Mesa 3-D graphics library @@ -33,5 +33,10 @@ void _swrast_choose_line( GLcontext *ctx ); +void +_swrast_add_spec_terms_line( GLcontext *ctx, + const SWvertex *v0, + const SWvertex *v1 ); + #endif -- cgit v1.2.3