s/0/NULL/
authorBrian Paul <brian.paul@tungstengraphics.com>
Tue, 13 Jun 2006 17:04:26 +0000 (17:04 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Tue, 13 Jun 2006 17:04:26 +0000 (17:04 +0000)
src/mesa/tnl/t_vb_arbprogram.c

index a590875950c2f16560745a1427f50c00af053b20..6c5cfb09e00f4050e7d859b5c8599d15910d8a77 100644 (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;
    }