From 5c7c5a762e602b67e404e04db5ab429bdf2fce1a Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 13 Jun 2006 17:04:26 +0000 Subject: s/0/NULL/ --- src/mesa/tnl/t_vb_arbprogram.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/mesa/tnl/t_vb_arbprogram.c b/src/mesa/tnl/t_vb_arbprogram.c index a590875950..6c5cfb09e0 100644 --- a/src/mesa/tnl/t_vb_arbprogram.c +++ b/src/mesa/tnl/t_vb_arbprogram.c @@ -1236,7 +1236,7 @@ run_arb_vertex_program(GLcontext *ctx, struct tnl_pipeline_stage *stage) if (ctx->ShaderObjects._VertexShaderPresent) return GL_TRUE; - program = (ctx->VertexProgram._Enabled ? ctx->VertexProgram.Current : 0); + program = ctx->VertexProgram._Enabled ? ctx->VertexProgram.Current : NULL; if (!program && ctx->_MaintainTnlProgram) { program = ctx->_TnlProgram; } -- cgit v1.2.3