summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv10/nv10_context.c
diff options
context:
space:
mode:
authorFrancisco Jerez <[email protected]>2009-11-05 19:07:19 +0100
committerPekka Paalanen <[email protected]>2009-11-15 18:20:19 +0200
commited9c4933af6fb58269f1efc7c826cb6a5fd81d38 (patch)
treede53960316d026bf4286801277082273b8fd647f /src/gallium/drivers/nv10/nv10_context.c
parenta420056750908f7c2f9a7c18b3ab20f04e49711d (diff)
nv10: 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/gallium/drivers/nv10/nv10_context.c')
-rw-r--r--src/gallium/drivers/nv10/nv10_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nv10/nv10_context.c b/src/gallium/drivers/nv10/nv10_context.c
index 933176fc32a..65a22b175e1 100644
--- a/src/gallium/drivers/nv10/nv10_context.c
+++ b/src/gallium/drivers/nv10/nv10_context.c
@@ -243,7 +243,7 @@ static void nv10_init_hwctx(struct nv10_context *nv10)
OUT_RING (0.0);
OUT_RINGf (16777216.0);
- BEGIN_RING(celsius, NV10TCL_VIEWPORT_SCALE_X, 4);
+ BEGIN_RING(celsius, NV10TCL_VIEWPORT_TRANSLATE_X, 4);
OUT_RINGf (-2048.0);
OUT_RINGf (-2048.0);
OUT_RINGf (16777215.0 * 0.5);