diff options
-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); |