diff options
author | Qiang Yu <Qiang.Yu@amd.com> | 2016-09-14 17:03:03 +0900 |
---|---|---|
committer | Michel Dänzer <michel@daenzer.net> | 2016-09-15 15:16:31 +0900 |
commit | 12d30eeb9711bd2b1609d6bbb74c4a1760596f72 (patch) | |
tree | 6a45e069581f26bcbef71f9f56d78b6e076fd869 /src/radeon_dri2.c | |
parent | 11cc6843aa3b745aa1361f1a65e465e16696b914 (diff) |
DRI2: Fix radeon_dri2_exchange_buffers width/height copy'n'paste error
Signed-off-by: Qiang Yu <Qiang.Yu@amd.com>
(Ported from amdgpu commit 73c8dc000ad6b2b53ba3aa7155f5e8f6b55623b7)
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'src/radeon_dri2.c')
-rw-r--r-- | src/radeon_dri2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/radeon_dri2.c b/src/radeon_dri2.c index 79501f0c..69fd0ead 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); |