summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2007-01-17 16:56:06 -0800
committerEric Anholt <eric@anholt.net>2007-01-17 16:56:06 -0800
commit53e765d1cf5016961c25a798a27f0fe09bd1f237 (patch)
treea27d970650dfd1eefacddb39dc57b485bd967193
parentf256243fff195f73bc8aa72e8dd2c6f7b33446cf (diff)
Fix broken last-minute change in determining whether we're rotated or not.
-rw-r--r--src/i830_display.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i830_display.c b/src/i830_display.c
index 08842ec9..2313f768 100644
--- a/src/i830_display.c
+++ b/src/i830_display.c
@@ -342,7 +342,7 @@ i830PipeSetBase(xf86CrtcPtr crtc, int x, int y)
int dspbase = (pipe == 0 ? DSPABASE : DSPBBASE);
int dspsurf = (pipe == 0 ? DSPASURF : DSPBSURF);
- if (intel_crtc->rotate_mem.Start != 0) {
+ if (crtc->rotation != RR_Rotate_0) {
Start = intel_crtc->rotate_mem.Start;
} else if (I830IsPrimary(pScrn)) {
Start = pI830->FrontBuffer.Start;