From 309e8bf6ca1620eee14fb0b3c7a17fca325e548c Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Wed, 22 May 2024 21:00:06 +0200 Subject: drop obsolete check for REGION_NULL Our minimal version is known to have it, so no check needed anymore. Signed-off-by: Enrico Weigelt, metux IT consult Part-of: --- src/ast_driver.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/ast_driver.c b/src/ast_driver.c index 5eaa2e9..7c0cd0b 100644 --- a/src/ast_driver.c +++ b/src/ast_driver.c @@ -2244,11 +2244,7 @@ static XF86VideoAdaptorPtr ASTSetupImageVideo(ScreenPtr pScreen) pPriv->hue = 0; /* gotta uninit this someplace */ -#if defined(REGION_NULL) REGION_NULL(pScreen, &pPriv->clip); -#else - REGION_INIT(pScreen, &pPriv->clip, NullBox, 0); -#endif pAST->adaptor = adapt; -- cgit v1.2.3