summaryrefslogtreecommitdiff
path: root/src/mesa/swrast_setup/ss_context.h
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2001-07-17 19:39:32 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2001-07-17 19:39:32 +0000
commit53560311294814ae0daa8457307a2b25077bf4e9 (patch)
treecffad805f3e213014d055f53609d71dd81aa37fc /src/mesa/swrast_setup/ss_context.h
parent4ae22b9721e4f123354aad9921da1613fd078367 (diff)
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.h8
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 f477f850cd..ed4da78d62 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 * );