diff options
author | Qiang Yu <Qiang.Yu@amd.com> | 2016-08-22 19:13:26 +0800 |
---|---|---|
committer | Michel Dänzer <michel.daenzer@amd.com> | 2016-08-23 11:48:09 +0900 |
commit | 73c8dc000ad6b2b53ba3aa7155f5e8f6b55623b7 (patch) | |
tree | 5142e9aed6ea2282fffa354ef0c232c4f6b0ee9b /src/amdgpu_dri2.c | |
parent | 5a4d3267ac3823fe58b51b0b9075b82375d7180c (diff) |
DRI2: Fix amdgpu_dri2_exchange_buffers width/height copy'n'paste error
Signed-off-by: Qiang Yu <Qiang.Yu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Diffstat (limited to 'src/amdgpu_dri2.c')
-rw-r--r-- | src/amdgpu_dri2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amdgpu_dri2.c b/src/amdgpu_dri2.c index bd04256..1cbf1eb 100644 --- a/src/amdgpu_dri2.c +++ b/src/amdgpu_dri2.c @@ -660,7 +660,7 @@ amdgpu_dri2_exchange_buffers(DrawablePtr draw, DRI2BufferPtr front, 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); |