From 05be7ae1253ad68d80816395c3d09665e5619ebc Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 19 Apr 2002 12:32:14 +0000 Subject: pass context pointer to _tnl_free_immediate(), removed backref pointer --- src/mesa/tnl/t_imm_exec.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/mesa/tnl/t_imm_exec.c') diff --git a/src/mesa/tnl/t_imm_exec.c b/src/mesa/tnl/t_imm_exec.c index c2b31ee869..2480206095 100644 --- a/src/mesa/tnl/t_imm_exec.c +++ b/src/mesa/tnl/t_imm_exec.c @@ -1,4 +1,4 @@ -/* $Id: t_imm_exec.c,v 1.38 2002/04/09 16:56:52 keithw Exp $ */ +/* $Id: t_imm_exec.c,v 1.39 2002/04/19 12:32:14 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -25,7 +25,7 @@ */ /** - * \file vpexec.c + * \file tnl/t_imm_exec.c * \brief Setup to execute immediate-mode vertex data. * \author Keith Whitwell */ @@ -592,7 +592,7 @@ void _tnl_imm_destroy( GLcontext *ctx ) if (TNL_CURRENT_IM(ctx)) { TNL_CURRENT_IM(ctx)->ref_count--; if (TNL_CURRENT_IM(ctx)->ref_count == 0) - _tnl_free_immediate( TNL_CURRENT_IM(ctx) ); + _tnl_free_immediate( ctx, TNL_CURRENT_IM(ctx) ); /* * Don't use SET_IMMEDIATE here, or else we'll whack the * _tnl_CurrentInput pointer - not good when another -- cgit v1.2.3