nv20: Fix build for the latest nouveau_class.h changes.
authorFrancisco Jerez <currojerez@riseup.net>
Fri, 8 Jan 2010 03:42:28 +0000 (04:42 +0100)
committerFrancisco Jerez <currojerez@riseup.net>
Fri, 8 Jan 2010 03:42:28 +0000 (04:42 +0100)
src/gallium/drivers/nv20/nv20_context.c

index 1dba724887782487cc18872489c90ea613fa5a91..5b80af2d22a2088e2622d15313b2d3a421f885d6 100644 (file)
@@ -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 */