summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJochen Rollwagen <joro-2013@t-online.de>2017-03-05 11:32:38 +0100
committerMichel Dänzer <michel.daenzer@amd.com>2017-03-06 10:35:26 +0900
commitf0e7948e1c0e984fc27f235f365639e9cf628291 (patch)
treed2437ef1bf896aab0c17a2c0eb64f89626b14772 /src
parentd63881623f0686a66a2e3e3c1f84e496aa52ec6b (diff)
Fix build for XServer 1.13
Latest git build stops with the error message radeon_kms.c: In function 'RADEONWindowExposures_oneshot': radeon_kms.c:1644:45: error: expected expression before 'RegionPtr' pScreen->WindowExposures(pWin, pRegion, RegionPtr pBSRegion); This patch fixes the build. Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Diffstat (limited to 'src')
-rw-r--r--src/radeon_kms.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/radeon_kms.c b/src/radeon_kms.c
index 572dfcc8..7a561faa 100644
--- a/src/radeon_kms.c
+++ b/src/radeon_kms.c
@@ -1641,7 +1641,7 @@ static void RADEONWindowExposures_oneshot(WindowPtr pWin, RegionPtr pRegion
pScreen->WindowExposures = info->WindowExposures;
#if XORG_VERSION_CURRENT < XORG_VERSION_NUMERIC(1,16,99,901,0)
- pScreen->WindowExposures(pWin, pRegion, RegionPtr pBSRegion);
+ pScreen->WindowExposures(pWin, pRegion, pBSRegion);
#else
pScreen->WindowExposures(pWin, pRegion);
#endif