summaryrefslogtreecommitdiff
path: root/src/radeon_driver.c
diff options
context:
space:
mode:
authorDavid Airlie <airlied@linux.ie>2007-02-02 11:45:40 +1100
committerDave Airlie <airlied@linux.ie>2007-02-02 15:34:19 +1100
commit47fb9ce657f018177a35b449a4d716dc03be9327 (patch)
treeb5b4efdb4985ca67eb0c8537d16f1ee2288a68ef /src/radeon_driver.c
parent720730b1b0de632488d3b9818210ec5e9c7f07ae (diff)
fixup callers to crtcsetmode fixes my cursors
Diffstat (limited to 'src/radeon_driver.c')
-rw-r--r--src/radeon_driver.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/radeon_driver.c b/src/radeon_driver.c
index f984b203..2706a0d8 100644
--- a/src/radeon_driver.c
+++ b/src/radeon_driver.c
@@ -3644,7 +3644,7 @@ _X_EXPORT Bool RADEONScreenInit(int scrnIndex, ScreenPtr pScreen,
crtc->desiredY = 0;
}
- if (!RADEONCrtcSetMode (crtc, &crtc->desiredMode, TRUE))
+ if (!RADEONCrtcSetMode (crtc, &crtc->desiredMode, crtc->desiredRotation, crtc->desiredX, crtc->desiredY))
return FALSE;
}
@@ -6338,7 +6338,8 @@ _X_EXPORT Bool RADEONEnterVT(int scrnIndex, int flags)
crtc->desiredY = 0;
}
- if (!RADEONCrtcSetMode (crtc, &crtc->desiredMode, TRUE))
+ if (!RADEONCrtcSetMode (crtc, &crtc->desiredMode, crtc->desiredRotation,
+ crtc->desiredX, crtc->desiredY))
return FALSE;
}