summaryrefslogtreecommitdiff
path: root/src/radeon_display.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/radeon_display.c')
-rw-r--r--src/radeon_display.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/radeon_display.c b/src/radeon_display.c
index 9a3a87fb..7fb2b778 100644
--- a/src/radeon_display.c
+++ b/src/radeon_display.c
@@ -2296,14 +2296,13 @@ radeon_crtc_mode_set(xf86CrtcPtr crtc, DisplayModePtr mode,
}
RADEONBlank(pScrn);
- RADEONRestoreMode(pScrn, &info->ModeReg);
-
- ErrorF("mode restored\n");
-
if (radeon_crtc->crtc_id == 0)
RADEONDoAdjustFrame(pScrn, x, y, FALSE);
else if (radeon_crtc->crtc_id == 1)
RADEONDoAdjustFrame(pScrn, x, y, TRUE);
+ RADEONRestoreMode(pScrn, &info->ModeReg);
+
+ ErrorF("mode restored\n");
ErrorF("frame adjusted\n");