diff options
author | Keith Packard <keithp@keithp.com> | 2008-04-04 12:11:14 -0700 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2008-10-23 09:56:45 -0400 |
commit | 8767fc8d47276c7489ae50dd556a446a462776ea (patch) | |
tree | 507817512bf1656ac14568c83bfb0e59d5b8fe8e /exa/exa.c | |
parent | 4c926dbac65ceb699b91bb0d3fd0005a5854572d (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.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |