aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/tnl/t_vertex_c.c
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2005-02-10 10:57:22 +0000
committerKeith Whitwell <[email protected]>2005-02-10 10:57:22 +0000
commitb97e478fe90f612041e27852eb8c95f45467bde8 (patch)
tree944adbe75c4027772cc1208c4ba35c60d1480148 /src/mesa/tnl/t_vertex_c.c
parenta9a4c5489ec12f6aa768d44578c332f654c536ea (diff)
mesa-tnl-0-to-NULL.patch from Jeff Muizelaar
Diffstat (limited to 'src/mesa/tnl/t_vertex_c.c')
-rw-r--r--src/mesa/tnl/t_vertex_c.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/tnl/t_vertex_c.c b/src/mesa/tnl/t_vertex_c.c
index 419e7b92420..d7e1a0375f7 100644
--- a/src/mesa/tnl/t_vertex_c.c
+++ b/src/mesa/tnl/t_vertex_c.c
@@ -234,7 +234,7 @@ static GLboolean print_attr_footer( struct tnl_clipspace_codegen *p )
static tnl_emit_func print_store_func( struct tnl_clipspace_codegen *p )
{
fprintf(stderr, "print_store_func: emitted:\n%s\n", p->buf);
- return 0;
+ return NULL;
}
void _tnl_init_c_codegen( struct tnl_clipspace_codegen *p )
@@ -262,6 +262,6 @@ void _tnl_free_c_codegen( struct tnl_clipspace_codegen *p )
{
if (p->buf) {
FREE(p->buf);
- p->buf = 0;
+ p->buf = NULL;
}
}