From: Keith Whitwell Date: Thu, 1 Dec 2005 14:24:37 +0000 (+0000) Subject: Call ProgramStringNotify after creating tnl programs. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c9515bf1aec3a3d934535a9d2893e90e8b903043;p=mesa.git Call ProgramStringNotify after creating tnl programs. --- 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 ); }