summaryrefslogtreecommitdiff
path: root/src/mesa/tnl/t_vertex_codegen.c
diff options
context:
space:
mode:
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 );