summaryrefslogtreecommitdiff
path: root/src/mesa/tnl/t_vp_build.c
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2005-12-01 14:24:37 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2005-12-01 14:24:37 +0000
commitc9515bf1aec3a3d934535a9d2893e90e8b903043 (patch)
treef96b0f669cd767176a92373c72bb540451f1aceb /src/mesa/tnl/t_vp_build.c
parentbfba2705b68432e4f44e424698366add262177fe (diff)
Call ProgramStringNotify after creating tnl programs.
Diffstat (limited to 'src/mesa/tnl/t_vp_build.c')
-rw-r--r--src/mesa/tnl/t_vp_build.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/tnl/t_vp_build.c b/src/mesa/tnl/t_vp_build.c
index aa0d15f8e2..2d42fafd88 100644
--- a/src/mesa/tnl/t_vp_build.c
+++ b/src/mesa/tnl/t_vp_build.c
@@ -1516,6 +1516,9 @@ void _tnl_UpdateFixedFunctionProgram( GLcontext *ctx )
create_new_program( key, ctx->_TnlProgram,
ctx->Const.VertexProgram.MaxTemps );
+ if (ctx->Driver.ProgramStringNotify)
+ ctx->Driver.ProgramStringNotify( ctx, GL_VERTEX_PROGRAM_ARB,
+ &ctx->_TnlProgram->Base );
cache_item(tnl->vp_cache, hash, key, ctx->_TnlProgram );
}