diff options
author | Enrico Weigelt, metux IT consult <info@metux.net> | 2024-05-14 15:38:07 +0200 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2024-05-22 18:48:40 -0700 |
commit | d65e042084e2300c549ab28c22b372494730174d (patch) | |
tree | b624f9ddbe041aa3acd0655ca8b5e7692af4caa8 | |
parent | cb476dbdef5d75ec16dd1016a17f3f063d7e61a3 (diff) |
no need to check for xf86XVFillKeyHelperDrawable()
It's always present at least for >= 1.18 now.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-savage/-/merge_requests/10>
-rw-r--r-- | configure.ac | 4 | ||||
-rw-r--r-- | src/savage_video.c | 4 |
2 files changed, 0 insertions, 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 |