summaryrefslogtreecommitdiff
path: root/src/mesa/tnl/t_vertex_codegen.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_vertex_codegen.c
parenta9a4c5489ec12f6aa768d44578c332f654c536ea (diff)
mesa-tnl-0-to-NULL.patch from Jeff Muizelaar
Diffstat (limited to 'src/mesa/tnl/t_vertex_codegen.c')
-rw-r--r--src/mesa/tnl/t_vertex_codegen.c4
1 files changed, 2 insertions, 2 deletions
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 );