summaryrefslogtreecommitdiff
path: root/src/aticonsole.c
diff options
context:
space:
mode:
authorEnrico Weigelt, metux IT consult <info@metux.net>2024-05-14 17:23:23 +0200
committerMarge Bot <emma+marge@anholt.net>2024-05-18 19:48:53 +0000
commit28e714fb98df73134c9d13cd4e01ff97089c0df0 (patch)
tree7f23f0fa74817726d1e90faf6f497eade0928a24 /src/aticonsole.c
parent65b21c595acb30756608bdea8dfc099b3999faec (diff)
drop compat with ancient xserver versions
We're relying on at least 1.18 now. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-mach64/-/merge_requests/17>
Diffstat (limited to 'src/aticonsole.c')
-rw-r--r--src/aticonsole.c17
1 files changed, 0 insertions, 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)