summaryrefslogtreecommitdiff
path: root/src/atidri.c
diff options
context:
space:
mode:
authorEnrico Weigelt, metux IT consult <info@metux.net>2024-05-23 19:43:05 +0200
committerEnrico Weigelt, metux IT consult <info@metux.net>2024-05-28 17:11:09 +0200
commit878048e3aec04c6bb8034f21afdfff37e3528c5f (patch)
tree134fd73c77c3acafce26766ffe53e309b3b636a3 /src/atidri.c
parent28e714fb98df73134c9d13cd4e01ff97089c0df0 (diff)
drop compat with ancient xserversHEADmaster
Relying on >= 1.18 now, so no need to keep compat with older ones. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-mach64/-/merge_requests/18>
Diffstat (limited to 'src/atidri.c')
-rw-r--r--src/atidri.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/atidri.c b/src/atidri.c
index 6fcb1f0..2d42bc6 100644
--- a/src/atidri.c
+++ b/src/atidri.c
@@ -134,11 +134,11 @@ static void ATIDRITransitionTo2d_EXA(ScreenPtr pScreen)
ATIPtr pATI = ATIPTR(pScreenInfo);
ATIDRIServerInfoPtr pATIDRIServer = pATI->pDRIServerInfo;
- exaEnableDisableFBAccess(SCREEN_ARG(pScreen), FALSE);
+ exaEnableDisableFBAccess(pScreen, FALSE);
pATI->pExa->offScreenBase = pATIDRIServer->backOffset;
- exaEnableDisableFBAccess(SCREEN_ARG(pScreen), TRUE);
+ exaEnableDisableFBAccess(pScreen, TRUE);
pATI->have3DWindows = FALSE;
}
@@ -149,12 +149,12 @@ static void ATIDRITransitionTo3d_EXA(ScreenPtr pScreen)
ATIPtr pATI = ATIPTR(pScreenInfo);
ATIDRIServerInfoPtr pATIDRIServer = pATI->pDRIServerInfo;
- exaEnableDisableFBAccess(SCREEN_ARG(pScreen), FALSE);
+ exaEnableDisableFBAccess(pScreen, FALSE);
pATI->pExa->offScreenBase = pATIDRIServer->textureOffset +
pATIDRIServer->textureSize;
- exaEnableDisableFBAccess(SCREEN_ARG(pScreen), TRUE);
+ exaEnableDisableFBAccess(pScreen, TRUE);
pATI->have3DWindows = TRUE;
}