summaryrefslogtreecommitdiff
path: root/exa/exa_mixed.c
diff options
context:
space:
mode:
authorMichel Dänzer <daenzer@vmware.com>2009-12-29 12:51:29 +0100
committerKeith Packard <keithp@keithp.com>2009-12-29 11:04:51 -0800
commit0c1f43c0f3e888172f11f62a2f208af70e0183cc (patch)
treec6170151897fef902c3915c3f5ad52ed11973702 /exa/exa_mixed.c
parent08bf26c28fc8147b64f2fe8345b9581e0101571c (diff)
EXA/mixed: Handle results of software fallbacks in DamageReport hook.
This is more elegant and probably also slightly more correct than doing it at FinishAccess time. Signed-off-by: Michel Dänzer <daenzer@vmware.com> Acked-by: Maarten Maathuis <madman2003@gmail.com> Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'exa/exa_mixed.c')
-rw-r--r--exa/exa_mixed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/exa/exa_mixed.c b/exa/exa_mixed.c
index b262fc707..21cc3bd13 100644
--- a/exa/exa_mixed.c
+++ b/exa/exa_mixed.c
@@ -101,7 +101,7 @@ exaCreatePixmap_mixed(ScreenPtr pScreen, int w, int h, int depth,
pExaPixmap->sys_ptr = malloc((pPixmap->drawable.bitsPerPixel + 7) / 8);
/* Set up damage tracking */
- pExaPixmap->pDamage = DamageCreate(NULL, NULL,
+ pExaPixmap->pDamage = DamageCreate(exaDamageReport_mixed, NULL,
DamageReportNonEmpty, TRUE,
pPixmap->drawable.pScreen,
pPixmap);