diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2014-09-15 08:44:41 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2014-09-15 08:46:46 +0100 |
commit | 067115a51b2646538a38ba603c688233c61e23cd (patch) | |
tree | 788d00c9bca5521891f1004afc93a882d16d1c27 | |
parent | 0d451ee3891d87268322dc3b72b487fdd2fbade6 (diff) |
uxa: Stub out intel_sync_init|fini when not compiled in
In order to fix the build without DRI3, we need to stub out the
functions not compiled in, such as intel_sync_fini().
Reported-by: Sedat Dilek <sedat.dilek@gmail.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r-- | src/uxa/intel.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/uxa/intel.h b/src/uxa/intel.h index 52de9805..3a1641f3 100644 --- a/src/uxa/intel.h +++ b/src/uxa/intel.h @@ -516,6 +516,9 @@ intel_pixmap_pitch(PixmapPtr pixmap) #if HAVE_DRI3 Bool intel_sync_init(ScreenPtr screen); void intel_sync_close(ScreenPtr screen); +#else +static inline Bool intel_sync_init(ScreenPtr screen) { return 0; } +static inline void intel_sync_close(ScreenPtr screen) { } #endif /* |