summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/smi_video.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/smi_video.c b/src/smi_video.c
index d3b7a42..b0319ac 100644
--- a/src/smi_video.c
+++ b/src/smi_video.c
@@ -930,13 +930,9 @@ SMI_SetupVideo(ScreenPtr pScreen)
}
} else
smiPortPtr->I2CDev.SlaveAddr = 0;
-
-#if defined(REGION_NULL)
+
REGION_NULL(pScreen, &smiPortPtr->clip);
-#else
- REGION_INIT(pScreen, &smiPortPtr->clip, NullBox, 0);
-#endif
-
+
pSmi->ptrAdaptor = ptrAdaptor;
pSmi->BlockHandler = pScreen->BlockHandler;
pScreen->BlockHandler = SMI_BlockHandler;