summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2006-06-13 17:04:26 +0000
committerBrian Paul <[email protected]>2006-06-13 17:04:26 +0000
commit5c7c5a762e602b67e404e04db5ab429bdf2fce1a (patch)
tree0f9fc9b399eb21fd06d5f1586af4528360274b1e
parent1c546ae5522fccfb922a672558188c36fb6b2b3f (diff)
s/0/NULL/
-rw-r--r--src/mesa/tnl/t_vb_arbprogram.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/tnl/t_vb_arbprogram.c b/src/mesa/tnl/t_vb_arbprogram.c
index a590875950c..6c5cfb09e00 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;
}