s/0/NULL/

This commit is contained in:
Brian Paul
2006-06-13 17:04:26 +00:00
parent 1c546ae552
commit 5c7c5a762e

View File

@@ -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;
}