diff options
author | Keith Whitwell <[email protected]> | 2005-12-01 14:24:37 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2005-12-01 14:24:37 +0000 |
commit | c9515bf1aec3a3d934535a9d2893e90e8b903043 (patch) | |
tree | f96b0f669cd767176a92373c72bb540451f1aceb /src | |
parent | bfba2705b68432e4f44e424698366add262177fe (diff) |
Call ProgramStringNotify after creating tnl programs.
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/tnl/t_vp_build.c | 3 |
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 aa0d15f8e2c..2d42fafd88e 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 ); } |