summaryrefslogtreecommitdiff
path: root/src/mesa/tnl/t_pipeline.c
diff options
context:
space:
mode:
authorH. Verbeet <hverbeet@gmail.com>2008-06-16 10:40:32 -0600
committerBrian Paul <brian.paul@tungstengraphics.com>2008-06-16 10:40:32 -0600
commite9d1889891ce32ffb3d6425f1e70510ea2c3e24b (patch)
treeddbf903fc2c8574c0e5d552ea12cc581c69f41a3 /src/mesa/tnl/t_pipeline.c
parentec2d0decbd739df99cac4baba57fe0005bf4894d (diff)
Compute/setup fog coordinates even if vertex program is enabled.
Only when fog's enabled, of course. In the usual case, this is just a pass-through operation.
Diffstat (limited to 'src/mesa/tnl/t_pipeline.c')
-rw-r--r--src/mesa/tnl/t_pipeline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/tnl/t_pipeline.c b/src/mesa/tnl/t_pipeline.c
index 2a0ed8852a..357ef1e24b 100644
--- a/src/mesa/tnl/t_pipeline.c
+++ b/src/mesa/tnl/t_pipeline.c
@@ -199,11 +199,11 @@ const struct tnl_pipeline_stage *_tnl_default_pipeline[] = {
&_tnl_vertex_transform_stage,
&_tnl_normal_transform_stage,
&_tnl_lighting_stage,
- &_tnl_fog_coordinate_stage,
&_tnl_texgen_stage,
&_tnl_texture_transform_stage,
&_tnl_point_attenuation_stage,
&_tnl_vertex_program_stage,
+ &_tnl_fog_coordinate_stage,
&_tnl_render_stage,
NULL
};