From b97e478fe90f612041e27852eb8c95f45467bde8 Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Thu, 10 Feb 2005 10:57:22 +0000 Subject: mesa-tnl-0-to-NULL.patch from Jeff Muizelaar --- src/mesa/tnl/t_vertex_codegen.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mesa/tnl/t_vertex_codegen.c') diff --git a/src/mesa/tnl/t_vertex_codegen.c b/src/mesa/tnl/t_vertex_codegen.c index 4ff9643070..e3d9a0a829 100644 --- a/src/mesa/tnl/t_vertex_codegen.c +++ b/src/mesa/tnl/t_vertex_codegen.c @@ -436,7 +436,7 @@ static struct { emit_4chan_4f_rgba_4 } }, { "pad", 0, 0, - { 0, 0, 0, 0 } } + { NULL, NULL, NULL, NULL } } }; @@ -497,7 +497,7 @@ tnl_emit_func _tnl_codegen_emit( GLcontext *ctx ) if (!emit_info[a[j].format].emit[sz]( p )) { fprintf(stderr, "codegen failed\n"); - return 0; + return NULL; } p->emit_attr_footer( p ); -- cgit v1.2.3