summaryrefslogtreecommitdiff
path: root/src/mesa/tnl/t_array_import.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2003-11-24 17:00:03 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2003-11-24 17:00:03 +0000
commitb52559eb8c87b4910a27eb07ca5e776b03b33fbd (patch)
treeaf2e726d09f36d26e0e55ce0b8deda16c3f610c4 /src/mesa/tnl/t_array_import.c
parentc515f90ec3adca875e93b4a705e14f4a0a1661b4 (diff)
set the VB->FogCoordPtr with the other legacy pointers
Diffstat (limited to 'src/mesa/tnl/t_array_import.c')
-rw-r--r--src/mesa/tnl/t_array_import.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/tnl/t_array_import.c b/src/mesa/tnl/t_array_import.c
index 16874dfb9a..f26f83a38c 100644
--- a/src/mesa/tnl/t_array_import.c
+++ b/src/mesa/tnl/t_array_import.c
@@ -353,6 +353,7 @@ void _tnl_vb_bind_arrays( GLcontext *ctx, GLint start, GLsizei count )
VB->IndexPtr[1] = 0;
VB->SecondaryColorPtr[0] = VB->AttribPtr[_TNL_ATTRIB_COLOR1];
VB->SecondaryColorPtr[1] = 0;
+ VB->FogCoordPtr = VB->AttribPtr[_TNL_ATTRIB_FOG];
for (i = 0; i < ctx->Const.MaxTextureCoordUnits; i++) {
VB->TexCoordPtr[i] = VB->AttribPtr[_TNL_ATTRIB_TEX0 + i];