From 3dfab5b9b809299704c8d3296e2cde30e703b2de Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Tue, 14 May 2024 12:18:07 +0200 Subject: drop obsolete XV_NEW_REPUT Since we're relying on new enought Xserver that always has ScrnInfoRec.ModeSet, no need to support old legacy anymore. Signed-off-by: Enrico Weigelt, metux IT consult Part-of: --- src/apm_video.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src') diff --git a/src/apm_video.c b/src/apm_video.c index 9b5b601..393e18d 100644 --- a/src/apm_video.c +++ b/src/apm_video.c @@ -26,10 +26,6 @@ static void ApmQueryBestSize(ScrnInfoPtr, Bool, short, short, short, static int ApmQueryImageAttributes(ScrnInfoPtr, int, unsigned short *, unsigned short *, int *, int *); -#ifndef XV_NEW_REPUT -static int A(ReputImage)(ScrnInfoPtr, short, short, RegionPtr, pointer, - DrawablePtr); -#endif static int A(PutImage)(ScrnInfoPtr, short, short, short, short, short, short, short, short, int, unsigned char*, short, short, Bool, RegionPtr, pointer, @@ -335,9 +331,6 @@ A(SetupImageVideo)(ScreenPtr pScreen) adapt->GetPortAttribute = ApmGetPortAttribute; adapt->QueryBestSize = ApmQueryBestSize; adapt->PutImage = A(PutImage); -#ifndef XV_NEW_REPUT - adapt->ReputImage = A(ReputImage); -#endif adapt->QueryImageAttributes = ApmQueryImageAttributes; pPriv->brightness = 0; -- cgit v1.2.3