From d65e042084e2300c549ab28c22b372494730174d Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Tue, 14 May 2024 15:38:07 +0200 Subject: no need to check for xf86XVFillKeyHelperDrawable() It's always present at least for >= 1.18 now. Signed-off-by: Enrico Weigelt, metux IT consult Part-of: --- configure.ac | 4 ---- src/savage_video.c | 4 ---- 2 files changed, 8 deletions(-) diff --git a/configure.ac b/configure.ac index c6b1e78..4d39220 100644 --- a/configure.ac +++ b/configure.ac @@ -112,10 +112,6 @@ CFLAGS="$XORG_CFLAGS" AC_CHECK_DECL(XSERVER_LIBPCIACCESS, [XSERVER_LIBPCIACCESS=yes], [XSERVER_LIBPCIACCESS=no], [#include "xorg-server.h"]) -AC_CHECK_DECL(xf86XVFillKeyHelperDrawable, - [AC_DEFINE(HAVE_XV_DRAWABLE_HELPER, 1, [Have xf86XVFillKeyHelperDrawable prototype])], - [], - [#include "xf86xv.h"]) CFLAGS="$save_CFLAGS" if test "x$XSERVER_LIBPCIACCESS" = xyes; then diff --git a/src/savage_video.c b/src/savage_video.c index 52a8b05..b127192 100644 --- a/src/savage_video.c +++ b/src/savage_video.c @@ -1891,11 +1891,7 @@ SavageDisplayVideo2000( static void SavageFillKeyHelper(DrawablePtr pDraw, uint32_t colorKey, RegionPtr clipBoxes) { -#if HAVE_XV_DRAWABLE_HELPER xf86XVFillKeyHelperDrawable(pDraw, colorKey, clipBoxes); -#else - xf86XVFillKeyHelper(pDraw->pScreen, colorKey, clipBoxes); -#endif } static int -- cgit v1.2.3