summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFrancisco Jerez <currojerez@riseup.net>2010-01-08 04:42:28 +0100
committerFrancisco Jerez <currojerez@riseup.net>2010-01-08 04:42:28 +0100
commit95f603a5f3d897c5a6cf12fb13ea035f2e0867d9 (patch)
tree324db55c8ec35b670746155e2f91d78ec204fea9 /src
parentd699b6720c391a0ab44e09b5fa93fc51b1a13c9e (diff)
nv20: Fix build for the latest nouveau_class.h changes.
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/nv20/nv20_context.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/nv20/nv20_context.c b/src/gallium/drivers/nv20/nv20_context.c
index 1dba724887..5b80af2d22 100644
--- a/src/gallium/drivers/nv20/nv20_context.c
+++ b/src/gallium/drivers/nv20/nv20_context.c
@@ -323,8 +323,8 @@ static void nv20_init_hwctx(struct nv20_context *nv20)
OUT_RINGf (chan, -0.090168); /* NV20TCL.FOG_EQUATION_LINEAR */
OUT_RINGf (chan, 0.0); /* NV20TCL.FOG_EQUATION_QUADRATIC */
BEGIN_RING(chan, kelvin, NV20TCL_FOG_MODE, 2);
- OUT_RING (chan, NV20TCL_FOG_MODE_EXP_2);
- OUT_RING (chan, NV20TCL_FOG_COORD_DIST_COORD_FOG);
+ OUT_RING (chan, NV20TCL_FOG_MODE_EXP_SIGNED);
+ OUT_RING (chan, NV20TCL_FOG_COORD_FOG);
BEGIN_RING(chan, kelvin, NV20TCL_FOG_ENABLE, 2);
OUT_RING (chan, 0);
OUT_RING (chan, 0); /* NV20TCL.FOG_COLOR */