diff options
author | Qiang Yu <Qiang.Yu@amd.com> | 2016-09-15 16:51:00 +0900 |
---|---|---|
committer | Michel Dänzer <michel.daenzer@amd.com> | 2016-09-15 16:51:00 +0900 |
commit | e890402d14ea7c4b22ef7f19d0679fb45d4eac4e (patch) | |
tree | a9bbcb78d087d7dc412b99df109c964db3e7cc73 | |
parent | b95ddb39c1154b3231cefd4e99046e7fb89f1e99 (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>
(Cherry picked from commit 12d30eeb9711bd2b1609d6bbb74c4a1760596f72)
-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 19c3d6a3..0cd6b241 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); |