summaryrefslogtreecommitdiffstats
path: root/src/mesa/tnl/t_pipeline.c
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2005-04-22 13:02:04 +0000
committerKeith Whitwell <[email protected]>2005-04-22 13:02:04 +0000
commita661654a33ba38990719ac9f5aea2910a5d5bf77 (patch)
tree9b90b1f424c985217ed1e9da1a6623d869ece52a /src/mesa/tnl/t_pipeline.c
parent6f973f33679e034b7cb63806f1ddfabdbdd70123 (diff)
Move the call to _tnl_UpdateFixedFunctionProgram to make
it easier for hardware drivers to test this out.
Diffstat (limited to 'src/mesa/tnl/t_pipeline.c')
-rw-r--r--src/mesa/tnl/t_pipeline.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/tnl/t_pipeline.c b/src/mesa/tnl/t_pipeline.c
index 914121969c9..82867605218 100644
--- a/src/mesa/tnl/t_pipeline.c
+++ b/src/mesa/tnl/t_pipeline.c
@@ -126,6 +126,10 @@ void _tnl_run_pipeline( GLcontext *ctx )
* (ie const or non-const).
*/
if (check_input_changes( ctx ) || tnl->pipeline.new_state) {
+#if TNL_FIXED_FUNCTION_PROGRAM
+ _tnl_UpdateFixedFunctionProgram( ctx );
+#endif
+
for (i = 0; i < tnl->pipeline.nr_stages ; i++) {
struct tnl_pipeline_stage *s = &tnl->pipeline.stages[i];
if (s->validate)