From d9fdb6c2bb52b4909265f504287ee8e4bc2d919f Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Tue, 10 May 2005 11:41:33 +0000 Subject: Missing from previous commit --- src/mesa/tnl/t_vb_arbprogram.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mesa/tnl/t_vb_arbprogram.c') diff --git a/src/mesa/tnl/t_vb_arbprogram.c b/src/mesa/tnl/t_vb_arbprogram.c index cb7639c33d..3be82c7298 100644 --- a/src/mesa/tnl/t_vb_arbprogram.c +++ b/src/mesa/tnl/t_vb_arbprogram.c @@ -1383,7 +1383,7 @@ run_arb_vertex_program(GLcontext *ctx, struct tnl_pipeline_stage *stage) { struct vertex_program *program = (ctx->VertexProgram._Enabled ? ctx->VertexProgram.Current : - &ctx->_TnlProgram); + ctx->_TnlProgram); struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; struct arb_vp_machine *m = ARB_VP_MACHINE(stage); GLuint i, j, outputs = program->OutputsWritten; @@ -1479,7 +1479,7 @@ validate_vertex_program( GLcontext *ctx, struct tnl_pipeline_stage *stage ) #if TNL_FIXED_FUNCTION_PROGRAM if (!program) { - program = &ctx->_TnlProgram; + program = ctx->_TnlProgram; } #endif -- cgit v1.2.3