[PATCH xf86-video-ati] Fix build for XServer 1.13
Michel Dänzer
michel at daenzer.net
Mon Mar 6 01:38:40 UTC 2017
On 05/03/17 07:38 PM, Jochen Rollwagen wrote:
> 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.
> ---
> src/radeon_kms.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/radeon_kms.c b/src/radeon_kms.c
> index 572dfcc..7a561fa 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
Reviewed and pushed, thanks!
P.S. In the future, please add your Signed-off-by to patches you want to
be applied.
--
Earthling Michel Dänzer | http://www.amd.com
Libre software enthusiast | Mesa and X developer
More information about the amd-gfx
mailing list