Report correct damage rectangle in CopySubBuffer.
This commit is contained in:
committed by
Michel Dänzer
parent
74a217fbcd
commit
377016d728
@@ -510,9 +510,9 @@ static void driCopySubBuffer(__DRIdrawable *dPriv,
|
||||
dPriv->driScreenPriv->DriverAPI.CopySubBuffer(dPriv, x, y, w, h);
|
||||
|
||||
rect.x1 = x;
|
||||
rect.y1 = y;
|
||||
rect.y1 = dPriv->h - y - h;
|
||||
rect.x2 = x + w;
|
||||
rect.y2 = y + w;
|
||||
rect.y2 = rect.y1 + h;
|
||||
driReportDamage(dPriv, &rect, 1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user