Remove checks for xf86RotateFreeShadow, introduced in server 1.4.

This commit is contained in:
Eric Anholt 2009-04-21 15:55:01 -07:00
parent e5133a94dc
commit c231b41f3f
2 changed files with 0 additions and 30 deletions

View File

@ -119,18 +119,6 @@ AC_MSG_RESULT([$DRI])
PKG_CHECK_MODULES([PCIACCESS], [pciaccess >= 0.10])
SAVE_CPPFLAGS="$CPPFLAGS"
CPPFLAGS="$CPPFLAGS $XORG_CFLAGS"
AC_CHECK_DECL(xf86RotateFreeShadow,
[AC_DEFINE(HAVE_FREE_SHADOW, 1, [have new FreeShadow API])],
[],
[#include <xorg-server.h>
#include <windowstr.h>
#include <xf86Crtc.h>])
CPPFLAGS="$SAVE_CPPFLAGS"
dnl Use lots of warning flags with GCC
WARN_CFLAGS=""

View File

@ -2969,10 +2969,6 @@ I830LeaveVT(int scrnIndex, int flags)
ScrnInfoPtr pScrn = xf86Screens[scrnIndex];
I830Ptr pI830 = I830PTR(pScrn);
int ret;
#ifndef HAVE_FREE_SHADOW
xf86CrtcConfigPtr config = XF86_CRTC_CONFIG_PTR(pScrn);
int o;
#endif
DPRINTF(PFX, "Leave VT\n");
@ -2984,21 +2980,7 @@ I830LeaveVT(int scrnIndex, int flags)
i830SetHotkeyControl(pScrn, HOTKEY_BIOS_SWITCH);
#ifndef HAVE_FREE_SHADOW
for (o = 0; o < config->num_crtc; o++) {
xf86CrtcPtr crtc = config->crtc[o];
if (crtc->rotatedPixmap || crtc->rotatedData) {
crtc->funcs->shadow_destroy(crtc, crtc->rotatedPixmap,
crtc->rotatedData);
crtc->rotatedPixmap = NULL;
crtc->rotatedData = NULL;
}
}
#else
xf86RotateFreeShadow(pScrn);
#endif
xf86_hide_cursors (pScrn);