[Nouveau] [PATCHv2] nv10/exa: Rename VIEWPORT_SCALE to VIEWPORT_TRANSLATE.

Francisco Jerez currojerez at riseup.net
Thu Nov 5 10:40:09 PST 2009


Signed-off-by: Francisco Jerez <currojerez at riseup.net>
---
v2: Backport the changes to e1c2efd7e7703f5860e5fe99e0413e3be10576d4,
    v1 doesn't apply cleanly without "nv10/exa: Spring-cleaning", not 
    yet commited.

 src/nv10_exa.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/nv10_exa.c b/src/nv10_exa.c
index fe86fd7..5bbd1b7 100644
--- a/src/nv10_exa.c
+++ b/src/nv10_exa.c
@@ -466,7 +466,7 @@ static Bool NV10SetBuffer(NVPtr pNv, PicturePtr Pict, PixmapPtr pixmap)
 #else
 	OUT_RINGf (chan, 65536.0);
 #endif
-	BEGIN_RING(chan, celsius, NV10TCL_VIEWPORT_SCALE_X, 4);
+	BEGIN_RING(chan, celsius, NV10TCL_VIEWPORT_TRANSLATE_X, 4);
 	OUT_RINGf (chan, -2048.0);
 	OUT_RINGf (chan, -2048.0);
 	OUT_RINGf (chan, 0);
-- 
1.6.4.4



More information about the Nouveau mailing list