summaryrefslogtreecommitdiff
path: root/exa/exa.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2008-04-04 12:11:14 -0700
committerAdam Jackson <ajax@redhat.com>2008-10-23 09:56:45 -0400
commit8767fc8d47276c7489ae50dd556a446a462776ea (patch)
tree507817512bf1656ac14568c83bfb0e59d5b8fe8e /exa/exa.c
parent4c926dbac65ceb699b91bb0d3fd0005a5854572d (diff)
Wrap AddTraps in exa and damage.
This fine (and unused) function wasn't ever wrapped which made it not work under exa. (cherry picked from commit 06e7e1d0486e8c516a9b3219a2c86026f88825fc)
Diffstat (limited to 'exa/exa.c')
-rw-r--r--exa/exa.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/exa/exa.c b/exa/exa.c
index d24012645..6dfde4cdf 100644
--- a/exa/exa.c
+++ b/exa/exa.c
@@ -757,6 +757,7 @@ exaCloseScreen(int i, ScreenPtr pScreen)
ps->Glyphs = pExaScr->SavedGlyphs;
ps->Trapezoids = pExaScr->SavedTrapezoids;
ps->Triangles = pExaScr->SavedTriangles;
+ ps->AddTraps = pExaScr->SavedAddTraps;
}
#endif
@@ -928,6 +929,9 @@ exaDriverInit (ScreenPtr pScreen,
pExaScr->SavedTrapezoids = ps->Trapezoids;
ps->Trapezoids = exaTrapezoids;
+
+ pExaScr->SavedAddTraps = ps->AddTraps;
+ ps->AddTraps = ExaCheckAddTraps;
}
#endif