summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/light.h
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2003-08-05 18:55:49 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2003-08-05 18:55:49 +0000
commitff56908e09c0351179478deb19677cf56eec1f64 (patch)
treeca51e376173869a8cb44304a0105b237f1dafce9 /src/mesa/main/light.h
parente6dea091c0a1fe9ad9720c07ddf7164e5fc45ac6 (diff)
downloadexternal_mesa3d-ff56908e09c0351179478deb19677cf56eec1f64.zip
external_mesa3d-ff56908e09c0351179478deb19677cf56eec1f64.tar.gz
external_mesa3d-ff56908e09c0351179478deb19677cf56eec1f64.tar.bz2
Store material attributes in an Attrib[] style array. This is a
first step to reviving/rescuing the 'vtx' rework from the old mesa tree.
Diffstat (limited to 'src/mesa/main/light.h')
-rw-r--r--src/mesa/main/light.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mesa/main/light.h b/src/mesa/main/light.h
index 240a631..1eb7f56 100644
--- a/src/mesa/main/light.h
+++ b/src/mesa/main/light.h
@@ -111,12 +111,11 @@ extern void _mesa_update_lighting( GLcontext *ctx );
extern void _mesa_update_tnl_spaces( GLcontext *ctx, GLuint new_state );
extern void _mesa_update_material( GLcontext *ctx,
- const struct gl_material src[2],
GLuint bitmask );
-extern void _mesa_copy_material_pairs( struct gl_material dst[2],
- const struct gl_material src[2],
- GLuint bitmask );
+extern void _mesa_copy_materials( struct gl_material *dst,
+ const struct gl_material *src,
+ GLuint bitmask );
extern void _mesa_update_color_material( GLcontext *ctx,
const GLfloat rgba[4] );