summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFrancisco Jerez <[email protected]>2009-11-15 14:49:02 +0100
committerPekka Paalanen <[email protected]>2009-11-15 18:20:19 +0200
commitabefd7dcdf28c90454b59faaf9401fa6e6c6f526 (patch)
treeaebb268cf309be2ea898c1f2e90fa7ea30899f3c /src
parented9c4933af6fb58269f1efc7c826cb6a5fd81d38 (diff)
nv20: Fix build for the last nouveau_class.h changes.
Signed-off-by: Francisco Jerez <[email protected]> Signed-off-by: Pekka Paalanen <[email protected]>
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 9a48739661b..276db8b57b6 100644
--- a/src/gallium/drivers/nv20/nv20_context.c
+++ b/src/gallium/drivers/nv20/nv20_context.c
@@ -360,13 +360,13 @@ static void nv20_init_hwctx(struct nv20_context *nv20)
OUT_RINGf (0.0);
OUT_RINGf (16777216.0); /* [0, 1] scaled approx to [0, 2^24] */
- BEGIN_RING(kelvin, NV20TCL_VIEWPORT_SCALE0_X, 4);
+ BEGIN_RING(kelvin, NV20TCL_VIEWPORT_TRANSLATE_X, 4);
OUT_RINGf (0.0); /* x-offset, w/2 + 1.031250 */
OUT_RINGf (0.0); /* y-offset, h/2 + 0.030762 */
OUT_RINGf (0.0);
OUT_RINGf (16777215.0);
- BEGIN_RING(kelvin, NV20TCL_VIEWPORT_SCALE1_X, 4);
+ BEGIN_RING(kelvin, NV20TCL_VIEWPORT_SCALE_X, 4);
OUT_RINGf (0.0); /* no effect?, w/2 */
OUT_RINGf (0.0); /* no effect?, h/2 */
OUT_RINGf (16777215.0 * 0.5);