summaryrefslogtreecommitdiffstats
path: root/src/glx/dri3_priv.h
diff options
context:
space:
mode:
authorKeith Packard <[email protected]>2013-11-21 20:22:16 -0800
committerKenneth Graunke <[email protected]>2013-12-20 16:17:54 -0800
commit568a27588d13146d0fd7cb4e775e1ac0187e5e29 (patch)
tree06bca12d062d61a2082bbceb63a10761a8d3bbaa /src/glx/dri3_priv.h
parent9f330481c3979724300881891dfa17e99a5698ab (diff)
dri3: Switch to libxshmfence version 1.1
libxshmfence v1.0 foolishly used 'int32_t *' for the fence type, which works when the fence is a linux futex. However, version 1.1 changes the exported datatype to 'struct xshmfence *' Require libxshmfence version 1.1 and switch the API around. Signed-off-by: Keith Packard <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/glx/dri3_priv.h')
-rw-r--r--src/glx/dri3_priv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glx/dri3_priv.h b/src/glx/dri3_priv.h
index c8928004207..efdc2ae2d2f 100644
--- a/src/glx/dri3_priv.h
+++ b/src/glx/dri3_priv.h
@@ -87,7 +87,7 @@ struct dri3_buffer {
*/
uint32_t sync_fence; /* XID of X SyncFence object */
- int32_t *shm_fence; /* pointer to xshmfence object */
+ struct xshmfence *shm_fence; /* pointer to xshmfence object */
GLboolean busy; /* Set on swap, cleared on IdleNotify */
void *driverPrivate;