mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 08:04:30 +00:00
miext/sync: Handle libxshmfence API change
libxshmfence had an unfortunate 'int32_t' type for the mapped fence. That changed to exposing a 'struct shmfence' instead, which is nice and opaque and offers fine type checking across the API. This patch requires the newer version of the library and uses the new interface type. Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Julien Cristau <jcristau@debian.org>
This commit is contained in:
@@ -787,7 +787,7 @@ DMXPROTO="dmxproto >= 2.2.99.1"
|
||||
VIDMODEPROTO="xf86vidmodeproto >= 2.2.99.1"
|
||||
WINDOWSWMPROTO="windowswmproto"
|
||||
APPLEWMPROTO="applewmproto >= 1.4"
|
||||
XSHMFENCE="xshmfence"
|
||||
XSHMFENCE="xshmfence >= 1.1"
|
||||
|
||||
dnl Required modules
|
||||
XPROTO="xproto >= 7.0.22"
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
static DevPrivateKeyRec syncShmFencePrivateKey;
|
||||
|
||||
typedef struct _SyncShmFencePrivate {
|
||||
int32_t *fence;
|
||||
struct xshmfence *fence;
|
||||
int fd;
|
||||
} SyncShmFencePrivateRec, *SyncShmFencePrivatePtr;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user