Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame^] | 1 | From 2c5063938cc809f624e56efd4673041fa8141e81 Mon Sep 17 00:00:00 2001 |
| 2 | From: Martin Peres <martin.peres@linux.intel.com> |
| 3 | Date: Thu, 9 Jul 2015 11:26:38 +0300 |
| 4 | Subject: [PATCH] uxa: fix the call to PixmapSyncDirtyHelper, broken by |
| 5 | xserver's 90db5ed |
| 6 | |
| 7 | [ickle: switch to HAS_DIRTYTRACKING_ROTATION as suggested by Dave Airlie] |
| 8 | Signed-off-by: Martin Peres <martin.peres@linux.intel.com> |
| 9 | |
| 10 | Upstream-Status: Backport |
| 11 | Signed-off-by: Saul Wold <sgw@linux.intel.com> |
| 12 | --- |
| 13 | src/compat-api.h | 4 ++++ |
| 14 | 1 file changed, 4 insertions(+) |
| 15 | |
| 16 | diff --git a/src/compat-api.h b/src/compat-api.h |
| 17 | index aa93bee..293e9d7 100644 |
| 18 | --- a/src/compat-api.h |
| 19 | +++ b/src/compat-api.h |
| 20 | @@ -247,3 +247,7 @@ static inline void FreePixmap(PixmapPtr pixmap) |
| 21 | #endif |
| 22 | |
| 23 | #endif |
| 24 | + |
| 25 | +#if HAS_DIRTYTRACKING_ROTATION |
| 26 | +#define PixmapSyncDirtyHelper(d, dd) PixmapSyncDirtyHelper(d) |
| 27 | +#endif |
| 28 | -- |
| 29 | 2.5.0 |
| 30 | |