summaryrefslogtreecommitdiff
path: root/glx
diff options
context:
space:
mode:
authorMaarten Maathuis <madman2003@gmail.com>2008-08-29 22:15:23 +0200
committerMaarten Maathuis <madman2003@gmail.com>2008-08-29 22:15:23 +0200
commit1861250cd7e84b05e8298b74e3c7e97da72ddfba (patch)
tree1027bb4b5830f0ec336e9e082f4b5dc73fe4bea8 /glx
parent5af77d43fe812e127d5d335527fa940ab9d95f38 (diff)
{damage,exa}: sanitise damage
- Redo damage naming for more consistency. - Call post submission functions only where appropriate. - EXA can now live without it's odd damage workarounds.
Diffstat (limited to 'glx')
-rw-r--r--glx/glxdri.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/glx/glxdri.c b/glx/glxdri.c
index 8ae56edcd..eedb8ad8a 100644
--- a/glx/glxdri.c
+++ b/glx/glxdri.c
@@ -804,7 +804,9 @@ static void __glXReportDamage(__DRIdrawable *driDraw,
REGION_INIT(pDraw->pScreen, &region, (BoxPtr) rects, num_rects);
REGION_TRANSLATE(pScreen, &region, pDraw->x, pDraw->y);
- DamageDamageRegion(pDraw, &region);
+ DamageRegionPending(pDraw, &region);
+ /* This is wrong, this needs a seperate function. */
+ DamageRegionSubmitted(pDraw);
REGION_UNINIT(pDraw->pScreen, &region);
__glXleaveServer(GL_FALSE);