summaryrefslogtreecommitdiff
path: root/src/mesa/tnl/t_context.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2002-04-19 12:32:14 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2002-04-19 12:32:14 +0000
commit05be7ae1253ad68d80816395c3d09665e5619ebc (patch)
treeaaa634bb60d5cbce9f5da87873ffc36f9b942da3 /src/mesa/tnl/t_context.c
parent0c527ab0546eb1de9ee10cc31bc386a40e6b3f98 (diff)
pass context pointer to _tnl_free_immediate(), removed backref pointer
Diffstat (limited to 'src/mesa/tnl/t_context.c')
-rw-r--r--src/mesa/tnl/t_context.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/tnl/t_context.c b/src/mesa/tnl/t_context.c
index 7be74c61c6..9d000d0528 100644
--- a/src/mesa/tnl/t_context.c
+++ b/src/mesa/tnl/t_context.c
@@ -1,4 +1,4 @@
-/* $Id: t_context.c,v 1.25 2002/04/09 16:56:52 keithw Exp $ */
+/* $Id: t_context.c,v 1.26 2002/04/19 12:32:14 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -145,7 +145,7 @@ _tnl_DestroyContext( GLcontext *ctx )
_tnl_array_destroy( ctx );
_tnl_imm_destroy( ctx );
_tnl_destroy_pipeline( ctx );
- _tnl_free_immediate( tnl->freed_immediate );
+ _tnl_free_immediate( ctx, tnl->freed_immediate );
FREE(tnl);
ctx->swtnl_context = 0;