summaryrefslogtreecommitdiff
path: root/src/mesa/tnl/t_context.c
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-10-31 12:17:32 -0600
committerBrian <brian.paul@tungstengraphics.com>2007-10-31 12:17:32 -0600
commit8d9afa76eb090ff58ca9a8a7a86a0b23ffc56857 (patch)
tree23950a72455893d60975456f89c7156cd58ff00d /src/mesa/tnl/t_context.c
parent4990695f1b197b270a4e3d98dd6bcd2bb4e89b4a (diff)
Use ffvertex_prog.c code instead of t_vp_build.c code.
Diffstat (limited to 'src/mesa/tnl/t_context.c')
-rw-r--r--src/mesa/tnl/t_context.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/tnl/t_context.c b/src/mesa/tnl/t_context.c
index 3b8dd18bbb..60770a91c2 100644
--- a/src/mesa/tnl/t_context.c
+++ b/src/mesa/tnl/t_context.c
@@ -61,7 +61,9 @@ _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 );
@@ -90,8 +92,10 @@ _tnl_DestroyContext( GLcontext *ctx )
_tnl_destroy_pipeline( ctx );
+#if 0
if (ctx->VertexProgram._MaintainTnlProgram)
_tnl_ProgramCacheDestroy( ctx );
+#endif
FREE(tnl);
ctx->swtnl_context = NULL;