summaryrefslogtreecommitdiff
path: root/src/mga_dh.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mga_dh.c')
-rw-r--r--src/mga_dh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mga_dh.c b/src/mga_dh.c
index b05c584..8cfd54c 100644
--- a/src/mga_dh.c
+++ b/src/mga_dh.c
@@ -207,7 +207,7 @@ void MGACRTC2Set(ScrnInfoPtr pScrn, xMODEINFO *pModeInfo)
/** Offset value*/
- OUTREG(MGAREG_C2OFFSET, pReg->crtc2[MGAREG2_C2VSYNC]);
+ OUTREG(MGAREG_C2OFFSET, pReg->crtc2[MGAREG2_C2OFFSET]);
#ifdef DEBUG
ErrorF("EXIT MGACRTC2Set\n");
#endif