summaryrefslogtreecommitdiff
path: root/src/sna/sna_damage.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2011-06-07 00:24:17 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2011-06-07 00:24:17 +0100
commit4e443cbef589e016d085e8023677f47c1f01a858 (patch)
tree76ff1fda6b16934a648d0786cffee040f86e24fd /src/sna/sna_damage.h
parent367298c5109b47fa4961a60fa3cb454c800f02c3 (diff)
sna: Add some more debug commentary to render picture source migration
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_damage.h')
-rw-r--r--src/sna/sna_damage.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sna/sna_damage.h b/src/sna/sna_damage.h
index 0b335711..c5dfa7f3 100644
--- a/src/sna/sna_damage.h
+++ b/src/sna/sna_damage.h
@@ -53,7 +53,7 @@ static inline void sna_damage_subtract(struct sna_damage **damage,
fastcall struct sna_damage *_sna_damage_subtract_box(struct sna_damage *damage,
const BoxRec *box);
static inline void sna_damage_subtract_box(struct sna_damage **damage,
- BoxPtr box)
+ const BoxRec *box)
{
*damage = _sna_damage_subtract_box(*damage, box);
}
@@ -62,7 +62,7 @@ Bool sna_damage_intersect(struct sna_damage *damage,
RegionPtr region, RegionPtr result);
int sna_damage_contains_box(struct sna_damage *damage,
- const BoxPtr box);
+ const BoxRec *box);
int sna_damage_get_boxes(struct sna_damage *damage, BoxPtr *boxes);