From 53560311294814ae0daa8457307a2b25077bf4e9 Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Tue, 17 Jul 2001 19:39:32 +0000 Subject: Lighting now emits colors as CHAN_TYPE, as it used to. This will require minor adjustments in the dri drivers for twosided lighting to work again. --- src/mesa/swrast_setup/ss_context.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/mesa/swrast_setup/ss_context.h') diff --git a/src/mesa/swrast_setup/ss_context.h b/src/mesa/swrast_setup/ss_context.h index f477f850cd3..ed4da78d629 100644 --- a/src/mesa/swrast_setup/ss_context.h +++ b/src/mesa/swrast_setup/ss_context.h @@ -1,4 +1,4 @@ -/* $Id: ss_context.h,v 1.8 2001/07/12 22:09:21 keithw Exp $ */ +/* $Id: ss_context.h,v 1.9 2001/07/17 19:39:32 keithw Exp $ */ /* * Mesa 3-D graphics library @@ -40,6 +40,12 @@ typedef struct { GLenum render_prim; GLuint SetupIndex; + /* Temporaries for translating away float colors: + */ + struct gl_client_array ChanColor; + struct gl_client_array ChanSecondaryColor; + + struct { void (*Start)( GLcontext * ); void (*Finish)( GLcontext * ); -- cgit v1.2.3