diff options
Diffstat (limited to 'src/apm_dga.c')
-rw-r--r-- | src/apm_dga.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/apm_dga.c b/src/apm_dga.c index 1a3cf6e..4a4fa96 100644 --- a/src/apm_dga.c +++ b/src/apm_dga.c @@ -234,8 +234,8 @@ ApmSetMode(ScrnInfoPtr pScrn, DGAModePtr pMode) } pScrn->currentMode = pApm->CurrentLayout.pMode; - ApmSwitchMode(SWITCH_MODE_ARGS(pScrn, pScrn->currentMode)); - ApmAdjustFrame(ADJUST_FRAME_ARGS(pScrn, pScrn->frameX0, pScrn->frameY0)); + ApmSwitchMode(pScrn, pScrn->currentMode); + ApmAdjustFrame(pScrn, pScrn->frameX0, pScrn->frameY0); #if 0 if (pApm->AccelInfoRec) XAAInit(pScrn->pScreen, pApm->AccelInfoRec); @@ -260,7 +260,7 @@ ApmSetMode(ScrnInfoPtr pScrn, DGAModePtr pMode) else pApm->CurrentLayout.mask32 = 32 / pMode->bitsPerPixel - 1; - ApmSwitchMode(SWITCH_MODE_ARGS(pScrn, pMode->mode)); + ApmSwitchMode(pScrn, pMode->mode); #if 0 if (pApm->DGAXAAInfo) @@ -311,7 +311,7 @@ ApmSetViewport( ApmWriteSeq(0x1C, 0x2F); pApm->apmLock = FALSE; } - pScrn->AdjustFrame(ADJUST_FRAME_ARGS(pScrn, x, y)); + pScrn->AdjustFrame(pScrn, x, y); if (pApm->VGAMap) { /* Wait until vertical retrace is in progress. */ while (APMVGAB(0x3DA) & 0x08); |