From ff56908e09c0351179478deb19677cf56eec1f64 Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Tue, 5 Aug 2003 18:55:49 +0000 Subject: Store material attributes in an Attrib[] style array. This is a first step to reviving/rescuing the 'vtx' rework from the old mesa tree. --- src/mesa/tnl/t_context.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mesa/tnl/t_context.h') diff --git a/src/mesa/tnl/t_context.h b/src/mesa/tnl/t_context.h index 943082d99b..c375a5670b 100644 --- a/src/mesa/tnl/t_context.h +++ b/src/mesa/tnl/t_context.h @@ -223,7 +223,7 @@ struct immediate /* allocate storage for these on demand: */ - struct gl_material (*Material)[2]; + struct gl_material *Material; GLuint *MaterialMask; GLuint LastMaterial; GLuint MaterialOrMask; @@ -302,7 +302,7 @@ typedef struct vertex_buffer struct gl_client_array *SecondaryColorPtr[2];/* VERT_BIT_COLOR1 */ GLvector4f *PointSizePtr; /* VERT_BIT_POINT_SIZE */ GLvector4f *FogCoordPtr; /* VERT_BIT_FOG */ - struct gl_material (*Material)[2]; /* VERT_BIT_MATERIAL, optional */ + struct gl_material *Material; /* VERT_BIT_MATERIAL, optional */ GLuint *MaterialMask; /* VERT_BIT_MATERIAL, optional */ GLuint *Flag; /* VERT_BIT_* flags, optional */ GLuint *Primitive; /* GL_(mode)|PRIM_* flags */ -- cgit v1.2.3