2.42.9-1
[arch-packages.git] / xf86-video-ati / trunk / 0001_dont_set_sourcevalidate_pointer_to_null.diff
blob080de79e37bdec1934586d10e8c697f0a83ddf6e
1 diff --git a/src/radeon_kms.c b/src/radeon_kms.c
2 index 62962d61d8ee22a02567b7125b4bb3a7f7230be4..51b00dd9b013d183bf93d7f5578014dc16c80ce8 100644
3 --- a/src/radeon_kms.c
4 +++ b/src/radeon_kms.c
5 @@ -931,6 +931,13 @@ radeon_dirty_update(ScrnInfoPtr scrn)
9 +static void
10 +radeonSourceValidate(DrawablePtr draw, int x, int y, int w, int h,
11 + unsigned int subWindowMode)
17 Bool
18 radeon_scanout_do_update(xf86CrtcPtr xf86_crtc, int scanout_id,
19 @@ -993,7 +1000,7 @@ radeon_scanout_do_update(xf86CrtcPtr xf86_crtc, int scanout_id,
20 SetPicturePictFilter(src, xf86_crtc->filter, xf86_crtc->params,
21 xf86_crtc->nparams);
23 - pScreen->SourceValidate = NULL;
24 + pScreen->SourceValidate = radeonSourceValidate;
25 CompositePicture(PictOpSrc,
26 src, NULL, dst,
27 extents.x1, extents.y1, 0, 0, extents.x1,