From 1861250cd7e84b05e8298b74e3c7e97da72ddfba Mon Sep 17 00:00:00 2001 From: Maarten Maathuis Date: Fri, 29 Aug 2008 22:15:23 +0200 Subject: {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. --- glx/glxdri.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'glx/glxdri.c') 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, ®ion, (BoxPtr) rects, num_rects); REGION_TRANSLATE(pScreen, ®ion, pDraw->x, pDraw->y); - DamageDamageRegion(pDraw, ®ion); + DamageRegionPending(pDraw, ®ion); + /* This is wrong, this needs a seperate function. */ + DamageRegionSubmitted(pDraw); REGION_UNINIT(pDraw->pScreen, ®ion); __glXleaveServer(GL_FALSE); -- cgit v1.2.3