diff options
author | Enrico Weigelt, metux IT consult <info@metux.net> | 2024-05-29 16:26:54 +0200 |
---|---|---|
committer | Enrico Weigelt, metux IT consult <info@metux.net> | 2024-05-29 16:42:36 +0200 |
commit | 58de94c6d4c3e5d0845962191c472b726ce266d7 (patch) | |
tree | e416b56c44ec93202a9223afda3c063327949c25 /src/savage_dga.c | |
parent | 54dcbfeb2b29bc2aea3916f38554d4e9b7141889 (diff) |
drop obsolete compat macros
Since we're relying on xserver >= 1.18, these macros aren't needed anymore.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-savage/-/merge_requests/12>
Diffstat (limited to 'src/savage_dga.c')
-rw-r--r-- | src/savage_dga.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/savage_dga.c b/src/savage_dga.c index d87a6a4..3acf7fe 100644 --- a/src/savage_dga.c +++ b/src/savage_dga.c @@ -268,7 +268,7 @@ Savage_SetMode( pScrn->currentMode = OldMode[index]; psav->DGAactive = FALSE; - SavageSwitchMode(SWITCH_MODE_ARGS(pScrn, pScrn->currentMode)); + SavageSwitchMode(pScrn, pScrn->currentMode); if( psav->hwcursor && psav->hwc_on ) SavageShowCursor(pScrn); } else { @@ -303,8 +303,7 @@ Savage_SetMode( pScrn->displayWidth = pMode->bytesPerScanline / (pMode->bitsPerPixel >> 3); -/* psav->UseBIOS = FALSE; */ - SavageSwitchMode(SWITCH_MODE_ARGS(pScrn, pMode->mode)); + SavageSwitchMode(pScrn, pMode->mode); psav->UseBIOS = holdBIOS; } @@ -329,7 +328,7 @@ Savage_SetViewport( ){ SavagePtr psav = SAVPTR(pScrn); - SavageAdjustFrame(ADJUST_FRAME_ARGS(pScrn, x, y)); + SavageAdjustFrame(pScrn, x, y); psav->DGAViewportStatus = 0; /* MGAAdjustFrame loops until finished */ } |