diff options
author | Adam Jackson <ajax@redhat.com> | 2012-04-18 10:50:28 -0400 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2012-04-18 10:50:28 -0400 |
commit | 3b06ee079494b0d08913a9f724c3661f9ac35907 (patch) | |
tree | e850991fa8635461d8e53cb830e0ef69e0256d6a | |
parent | 25c7bb8b063777f31db678db743191265f17e7be (diff) |
Use DamageRegion for shadow damage
The 'damage' member is an ancient compatibility hack I want to destroy.
Signed-off-by: Adam Jackson <ajax@redhat.com>
-rw-r--r-- | src/neo_shadow.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/neo_shadow.c b/src/neo_shadow.c index ee4a56b..dd9aa32 100644 --- a/src/neo_shadow.c +++ b/src/neo_shadow.c @@ -19,7 +19,7 @@ void neoShadowUpdate (ScreenPtr pScreen, shadowBufPtr pBuf) { - RegionPtr damage = &pBuf->damage; + RegionPtr damage = DamageRegion(pBuf->pDamage); ScrnInfoPtr pScrn; pScrn = xf86Screens[pScreen->myNum]; |