From 28e714fb98df73134c9d13cd4e01ff97089c0df0 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Tue, 14 May 2024 17:23:23 +0200 Subject: drop compat with ancient xserver versions We're relying on at least 1.18 now. Signed-off-by: Enrico Weigelt, metux IT consult Part-of: --- src/aticonsole.c | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/src/aticonsole.c b/src/aticonsole.c index 47e9edd..f9bbcd1 100644 --- a/src/aticonsole.c +++ b/src/aticonsole.c @@ -681,9 +681,6 @@ ATIEnterVT(VT_FUNC_ARGS_DECL) ScreenPtr pScreen = pScreenInfo->pScreen; ATIPtr pATI = ATIPTR(pScreenInfo); PixmapPtr pScreenPixmap; -#if (XORG_VERSION_CURRENT < XORG_VERSION_NUMERIC(1, 9, 99, 1, 0)) - DevUnion PixmapPrivate; -#endif Bool Entered; if (!ATIEnterGraphics(NULL, pScreenInfo, pATI)) @@ -709,24 +706,10 @@ ATIEnterVT(VT_FUNC_ARGS_DECL) pScreenPixmap = (*pScreen->GetScreenPixmap)(pScreen); -#if (XORG_VERSION_CURRENT < XORG_VERSION_NUMERIC(1, 9, 99, 1, 0)) - PixmapPrivate = pScreenPixmap->devPrivate; - if (!PixmapPrivate.ptr) - pScreenPixmap->devPrivate = pScreenInfo->pixmapPrivate; -#endif - /* Tell framebuffer about remapped aperture */ Entered = (*pScreen->ModifyPixmapHeader)(pScreenPixmap, -1, -1, -1, -1, -1, pATI->pMemory); -#if (XORG_VERSION_CURRENT < XORG_VERSION_NUMERIC(1, 9, 99, 1, 0)) - if (!PixmapPrivate.ptr) - { - pScreenInfo->pixmapPrivate = pScreenPixmap->devPrivate; - pScreenPixmap->devPrivate.ptr = NULL; - } -#endif - #ifdef XF86DRI_DEVEL if (pATI->directRenderingEnabled) -- cgit v1.2.3