[PATCH xf86-video-ati 4/4] DRI2: Fix radeon_dri2_exchange_buffers width/height copy'n'paste error
Alex Deucher
alexdeucher at gmail.com
Wed Sep 14 16:29:02 UTC 2016
On Wed, Sep 14, 2016 at 4:14 AM, Michel Dänzer <michel at daenzer.net> wrote:
> From: Qiang Yu <Qiang.Yu at amd.com>
>
> Signed-off-by: Qiang Yu <Qiang.Yu at amd.com>
> (Ported from amdgpu commit 73c8dc000ad6b2b53ba3aa7155f5e8f6b55623b7)
>
> Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>
For the series:
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
> ---
> src/radeon_dri2.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/radeon_dri2.c b/src/radeon_dri2.c
> index 79501f0..69fd0ea 100644
> --- a/src/radeon_dri2.c
> +++ b/src/radeon_dri2.c
> @@ -775,7 +775,7 @@ radeon_dri2_exchange_buffers(DrawablePtr draw, DRI2BufferPtr front, DRI2BufferPt
>
> region.extents.x1 = region.extents.y1 = 0;
> region.extents.x2 = front_priv->pixmap->drawable.width;
> - region.extents.y2 = front_priv->pixmap->drawable.width;
> + region.extents.y2 = front_priv->pixmap->drawable.height;
> region.data = NULL;
> DamageRegionAppend(&front_priv->pixmap->drawable, ®ion);
>
> --
> 2.9.3
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
More information about the amd-gfx
mailing list