From c6b2a92613a5110dbf387721af8ec505744183b9 Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Thu, 15 Feb 2001 01:33:52 +0000 Subject: Fix propogation of material values in VB's that don't reach the lighting stage. (Materials now treated more like colors, etc.). Continue whipping the dd templates into shape. Remove old NormalLength code; may come back as a driver helper, but not useful for, eg. hardware t&l drivers. --- src/mesa/main/light.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/mesa/main/light.h') diff --git a/src/mesa/main/light.h b/src/mesa/main/light.h index b39aa002d8..38ca33815f 100644 --- a/src/mesa/main/light.h +++ b/src/mesa/main/light.h @@ -1,4 +1,4 @@ -/* $Id: light.h,v 1.9 2001/02/06 04:06:35 keithw Exp $ */ +/* $Id: light.h,v 1.10 2001/02/15 01:33:52 keithw Exp $ */ /* * Mesa 3-D graphics library @@ -114,6 +114,10 @@ extern void gl_update_material( GLcontext *ctx, const struct gl_material src[2], GLuint bitmask ); +extern void gl_copy_material_pairs( struct gl_material dst[2], + const struct gl_material src[2], + GLuint bitmask ); + extern void gl_update_color_material( GLcontext *ctx, const GLchan rgba[4] ); -- cgit v1.2.3