From 7213a8b1b40c80cf965c2becbd573d382b59b1ac Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Mon, 14 Sep 2015 14:37:45 +0200 Subject: [PATCH] Remove REGION_NULL fallback It's been in the Xorg code base for ages. Any version that lacks it is too old for the rest of our code to work anyway. --- unix/xserver/hw/vnc/vncHooks.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/unix/xserver/hw/vnc/vncHooks.c b/unix/xserver/hw/vnc/vncHooks.c index 5867aa00..bbf34e7e 100644 --- a/unix/xserver/hw/vnc/vncHooks.c +++ b/unix/xserver/hw/vnc/vncHooks.c @@ -44,13 +44,6 @@ #define DBGPRINT(x) //(fprintf x) -// REGION_NULL was introduced in the Xorg tree as the way to initialise an -// empty region. If it's not already defined do it the old way. Note that the -// old way causes a segfault in the new tree... -#ifndef REGION_NULL -#define REGION_NULL(pScreen,pReg) REGION_INIT(pScreen,pReg,NullBox,0) -#endif - // MAX_RECTS_PER_OP is the maximum number of rectangles we generate from // operations like Polylines and PolySegment. If the operation is more complex // than this, we simply use the bounding box. Ideally it would be a -- 2.39.5