aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/xorg/xorg_driver.c
diff options
context:
space:
mode:
authorJakob Bornecrantz <[email protected]>2009-10-18 11:49:44 +0200
committerJakob Bornecrantz <[email protected]>2009-10-18 15:46:25 +0200
commite1b39c673d885e3dc990a29445360830b0a603aa (patch)
tree95445fd087cf61a671e21b44840e76701e82859b /src/gallium/state_trackers/xorg/xorg_driver.c
parent846da0bfdae971cba84cd2ad9217c74c62e6bce9 (diff)
st/xorg: Switch to set_mode_major
Diffstat (limited to 'src/gallium/state_trackers/xorg/xorg_driver.c')
-rw-r--r--src/gallium/state_trackers/xorg/xorg_driver.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/xorg/xorg_driver.c b/src/gallium/state_trackers/xorg/xorg_driver.c
index 24d3c23fa6a..2df954f18ee 100644
--- a/src/gallium/state_trackers/xorg/xorg_driver.c
+++ b/src/gallium/state_trackers/xorg/xorg_driver.c
@@ -651,8 +651,8 @@ AdjustFrame(int scrnIndex, int x, int y, int flags)
xf86CrtcPtr crtc = output->crtc;
if (crtc && crtc->enabled) {
- crtc->funcs->mode_set(crtc, pScrn->currentMode, pScrn->currentMode, x,
- y);
+ crtc->funcs->set_mode_major(crtc, pScrn->currentMode,
+ RR_Rotate_0, x, y);
crtc->x = output->initial_x + x;
crtc->y = output->initial_y + y;
}