projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfba270
)
Call ProgramStringNotify after creating tnl programs.
author
Keith Whitwell
<keith@tungstengraphics.com>
Thu, 1 Dec 2005 14:24:37 +0000
(14:24 +0000)
committer
Keith Whitwell
<keith@tungstengraphics.com>
Thu, 1 Dec 2005 14:24:37 +0000
(14:24 +0000)
src/mesa/tnl/t_vp_build.c
patch
|
blob
|
history
diff --git
a/src/mesa/tnl/t_vp_build.c
b/src/mesa/tnl/t_vp_build.c
index aa0d15f8e2c012336ea177669b3010aa8dd4c6ad..2d42fafd88e693a4ea22c8165537c219544c5f78 100644
(file)
--- 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 );
}