summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEnrico Weigelt, metux IT consult <info@metux.net>2024-05-22 21:00:06 +0200
committerEnrico Weigelt, metux IT consult <info@metux.net>2024-05-22 21:00:06 +0200
commit309e8bf6ca1620eee14fb0b3c7a17fca325e548c (patch)
treec6b0c19d8a04665c734ae5a9540b48ab0e4c3f22
parent9f932c7d5e79751082edec101e090732b2ea7fcd (diff)
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 <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-ast/-/merge_requests/11>
-rw-r--r--src/ast_driver.c4
1 files changed, 0 insertions, 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;