summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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)