diff options
author | Pierre Ossman <ossman@cendio.se> | 2015-09-14 14:37:45 +0200 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2015-09-14 14:37:45 +0200 |
commit | 7213a8b1b40c80cf965c2becbd573d382b59b1ac (patch) | |
tree | bbd945ed0e7c9ae592655cc560c4bbfd57bcaf57 /unix/xserver/hw/vnc/vncHooks.c | |
parent | e3ee57a95b246f6dbc5fb62723db86346967a516 (diff) | |
download | tigervnc-7213a8b1b40c80cf965c2becbd573d382b59b1ac.tar.gz tigervnc-7213a8b1b40c80cf965c2becbd573d382b59b1ac.zip |
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.
Diffstat (limited to 'unix/xserver/hw/vnc/vncHooks.c')
-rw-r--r-- | unix/xserver/hw/vnc/vncHooks.c | 7 |
1 files changed, 0 insertions, 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 |