diff options
author | Keith Whitwell <keith@tungstengraphics.com> | 2001-07-17 19:39:32 +0000 |
---|---|---|
committer | Keith Whitwell <keith@tungstengraphics.com> | 2001-07-17 19:39:32 +0000 |
commit | 53560311294814ae0daa8457307a2b25077bf4e9 (patch) | |
tree | cffad805f3e213014d055f53609d71dd81aa37fc /src/mesa/swrast_setup/ss_context.h | |
parent | 4ae22b9721e4f123354aad9921da1613fd078367 (diff) | |
download | external_mesa3d-53560311294814ae0daa8457307a2b25077bf4e9.zip external_mesa3d-53560311294814ae0daa8457307a2b25077bf4e9.tar.gz external_mesa3d-53560311294814ae0daa8457307a2b25077bf4e9.tar.bz2 |
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.
Diffstat (limited to 'src/mesa/swrast_setup/ss_context.h')
-rw-r--r-- | src/mesa/swrast_setup/ss_context.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/mesa/swrast_setup/ss_context.h b/src/mesa/swrast_setup/ss_context.h index f477f85..ed4da78 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 * ); |