summaryrefslogtreecommitdiff
path: root/src/mesa/x86
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2009-11-18 01:45:42 -0800
committerEric Anholt <eric@anholt.net>2009-11-19 11:47:05 +0100
commit37c79d4d765b10a79e0cf217cc1e70d3fbb7a0c5 (patch)
tree25de0047fdcf04503e4aed5e788aa307fa228415 /src/mesa/x86
parent0a9187801505130738ae947c69cafa8a1dd118d1 (diff)
tnl: Replace deprecated FogCoordPtr with AttribPtr[_TNL_ATTRIB_FOG]
Diffstat (limited to 'src/mesa/x86')
-rw-r--r--src/mesa/x86/gen_matypes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/x86/gen_matypes.c b/src/mesa/x86/gen_matypes.c
index ce91b75f3a..0d7e0f1f98 100644
--- a/src/mesa/x86/gen_matypes.c
+++ b/src/mesa/x86/gen_matypes.c
@@ -135,7 +135,7 @@ int main( int argc, char **argv )
OFFSET( "VB_INDEX_PTR ", struct vertex_buffer, AttribPtr[_TNL_ATTRIB_COLOR_INDEX] );
OFFSET( "VB_COLOR_PTR ", struct vertex_buffer, AttribPtr[_TNL_ATTRIB_COLOR0] );
OFFSET( "VB_SECONDARY_COLOR_PTR ", struct vertex_buffer, AttribPtr[_TNL_ATTRIB_COLOR1] );
- OFFSET( "VB_FOG_COORD_PTR ", struct vertex_buffer, FogCoordPtr );
+ OFFSET( "VB_FOG_COORD_PTR ", struct vertex_buffer, AttribPtr[_TNL_ATTRIB_FOG] );
OFFSET( "VB_PRIMITIVE ", struct vertex_buffer, Primitive );
printf( "\n" );