mesa: Branch 'master'
Roland Scheidegger
sroland at kemper.freedesktop.org
Wed Feb 14 15:38:27 UTC 2007
src/mesa/tnl/t_vp_build.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletion(-)
New commits:
diff-tree 99dfca1e7fb32157135511bded07376ebb25acb3 (from bc82b44db9dbb6ea0f02c2a9a430e8d402c85bd3)
Author: Roland Scheidegger <sroland at tungstengraphics.com>
Date: Wed Feb 14 16:38:32 2007 +0100
fix stupid bug in the optimized per-vertex fog generation code
diff --git a/src/mesa/tnl/t_vp_build.c b/src/mesa/tnl/t_vp_build.c
index 0b6f506..81266f3 100644
--- a/src/mesa/tnl/t_vp_build.c
+++ b/src/mesa/tnl/t_vp_build.c
@@ -1102,7 +1102,8 @@ static void build_fog( struct tnl_progra
}
if (p->state->tnl_do_vertex_fog) {
- struct ureg params = register_param1(p, STATE_FOG_PARAMS_OPTIMIZED);
+ struct ureg params = register_param2(p, STATE_INTERNAL,
+ STATE_FOG_PARAMS_OPTIMIZED);
struct ureg tmp = get_temp(p);
switch (p->state->fog_mode) {
More information about the mesa-commit
mailing list