summaryrefslogtreecommitdiff
path: root/src/mesa/tnl/t_vb_normals.c
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2005-02-10 10:57:22 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2005-02-10 10:57:22 +0000
commitb97e478fe90f612041e27852eb8c95f45467bde8 (patch)
tree944adbe75c4027772cc1208c4ba35c60d1480148 /src/mesa/tnl/t_vb_normals.c
parenta9a4c5489ec12f6aa768d44578c332f654c536ea (diff)
mesa-tnl-0-to-NULL.patch from Jeff Muizelaar
Diffstat (limited to 'src/mesa/tnl/t_vb_normals.c')
-rw-r--r--src/mesa/tnl/t_vb_normals.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/tnl/t_vb_normals.c b/src/mesa/tnl/t_vb_normals.c
index 9d6a4ba5d2..f8c73c702d 100644
--- a/src/mesa/tnl/t_vb_normals.c
+++ b/src/mesa/tnl/t_vb_normals.c
@@ -85,7 +85,7 @@ static GLboolean run_normal_stage( GLcontext *ctx,
VB->NormalPtr = &store->normal;
VB->AttribPtr[_TNL_ATTRIB_NORMAL] = VB->NormalPtr;
- VB->NormalLengthPtr = 0; /* no longer valid */
+ VB->NormalLengthPtr = NULL; /* no longer valid */
return GL_TRUE;
}
@@ -126,7 +126,7 @@ static GLboolean run_validate_normal_stage( GLcontext *ctx,
store->NormalTransform = _mesa_normal_tab[NORM_RESCALE];
}
else {
- store->NormalTransform = 0;
+ store->NormalTransform = NULL;
}
}