On Wed, Apr 22, 2015 at 5:43 AM, Michel Dänzer <[email protected]> wrote:
> From: Michel Dänzer <[email protected]>
>
> It doesn't point to the memory of the newly allocated BO. Fixes crash
> running piglit with Option "ShadowPrimary" enabled.
>
> Signed-off-by: Michel Dänzer <[email protected]>

Reviewed-by: Alex Deucher <[email protected]>

> ---
>  src/radeon_dri2.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/src/radeon_dri2.c b/src/radeon_dri2.c
> index 31a1ce7..6bb3dc6 100644
> --- a/src/radeon_dri2.c
> +++ b/src/radeon_dri2.c
> @@ -119,6 +119,7 @@ static PixmapPtr fixup_glamor(DrawablePtr drawable, 
> PixmapPtr pixmap)
>                                    0, 0,
>                                    pixmap->devKind,
>                                    NULL);
> +       old->devPrivate.ptr = NULL;
>
>         screen->DestroyPixmap(pixmap);
>
> --
> 2.1.4
>
> _______________________________________________
> xorg-driver-ati mailing list
> [email protected]
> http://lists.x.org/mailman/listinfo/xorg-driver-ati
_______________________________________________
xorg-driver-ati mailing list
[email protected]
http://lists.x.org/mailman/listinfo/xorg-driver-ati

Reply via email to