From c9515bf1aec3a3d934535a9d2893e90e8b903043 Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Thu, 1 Dec 2005 14:24:37 +0000 Subject: Call ProgramStringNotify after creating tnl programs. --- src/mesa/tnl/t_vp_build.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/mesa/tnl') 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 ); } -- cgit v1.2.3