summaryrefslogtreecommitdiff
path: root/src/mesa/tnl/t_vertex_c.c
diff options
context:
space:
mode:
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 419e7b9242..d7e1a0375f 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;
}
}