mirror of
https://github.com/X11Libre/xf86-video-amdgpu.git
synced 2026-03-24 01:24:31 +00:00
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>
(Cherry picked from commit 73c8dc000a)
This commit is contained in:
@@ -657,7 +657,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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user