diff options
author | Francisco Jerez <currojerez@riseup.net> | 2010-01-31 17:18:09 +0100 |
---|---|---|
committer | Francisco Jerez <currojerez@riseup.net> | 2010-02-01 01:26:36 +0100 |
commit | 71b32cc838ea682e60ea7a4a0e0ae17edce89c9a (patch) | |
tree | 57fb4d0a56a05611387ed044fe55ec91bef51ce6 /src/gallium/drivers/nv20/nv20_context.c | |
parent | eb961f81d53405ab04e021703228ddb15190d75f (diff) |
nv10, nv20: Fix build.
Diffstat (limited to 'src/gallium/drivers/nv20/nv20_context.c')
-rw-r--r-- | src/gallium/drivers/nv20/nv20_context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nv20/nv20_context.c b/src/gallium/drivers/nv20/nv20_context.c index 5b80af2d22..22185a2f6e 100644 --- a/src/gallium/drivers/nv20/nv20_context.c +++ b/src/gallium/drivers/nv20/nv20_context.c @@ -245,7 +245,7 @@ static void nv20_init_hwctx(struct nv20_context *nv20) } BEGIN_RING(chan, kelvin, NV20TCL_LIGHTING_ENABLE, 1); OUT_RING (chan, 0); - BEGIN_RING(chan, kelvin, NV20TCL_LIGHT_CONTROL, 1); + BEGIN_RING(chan, kelvin, NV20TCL_LIGHT_MODEL, 1); OUT_RING (chan, 0x00020000); BEGIN_RING(chan, kelvin, NV20TCL_SEPARATE_SPECULAR_ENABLE, 1); OUT_RING (chan, 0); |