mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 02:58:05 +02:00
Call ProgramStringNotify after creating tnl programs.
This commit is contained in:
parent
bfba2705b6
commit
c9515bf1ae
1 changed files with 3 additions and 0 deletions
|
|
@ -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 );
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue