summaryrefslogtreecommitdiffstats
path: root/src/mesa/tnl/t_context.c
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-10-31 12:34:09 -0600
committerBrian <[email protected]>2007-10-31 12:34:09 -0600
commita35a2fc0d3aaa795a0088bfc390b98a033fc28de (patch)
treee9235a820fed399315daba5f6d8d9fe8c956ea34 /src/mesa/tnl/t_context.c
parent8db4acc5547370761a9a489c947e9621adc8f945 (diff)
remove dead program cache code
Diffstat (limited to 'src/mesa/tnl/t_context.c')
-rw-r--r--src/mesa/tnl/t_context.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/mesa/tnl/t_context.c b/src/mesa/tnl/t_context.c
index 60770a91c2c..b87452d2eb4 100644
--- a/src/mesa/tnl/t_context.c
+++ b/src/mesa/tnl/t_context.c
@@ -61,9 +61,6 @@ _tnl_CreateContext( GLcontext *ctx )
/* Initialize tnl state.
*/
if (ctx->VertexProgram._MaintainTnlProgram) {
-#if 0
- _tnl_ProgramCacheInit( ctx );
-#endif
_tnl_install_pipeline( ctx, _tnl_vp_pipeline );
} else {
_tnl_install_pipeline( ctx, _tnl_default_pipeline );
@@ -92,11 +89,6 @@ _tnl_DestroyContext( GLcontext *ctx )
_tnl_destroy_pipeline( ctx );
-#if 0
- if (ctx->VertexProgram._MaintainTnlProgram)
- _tnl_ProgramCacheDestroy( ctx );
-#endif
-
FREE(tnl);
ctx->swtnl_context = NULL;
}