summaryrefslogtreecommitdiff
path: root/src/sna/sna_damage.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-01-03 19:15:07 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2012-01-03 21:35:03 +0000
commit7ff42e9c83cdb17660a64901497704b38032af8c (patch)
tree8a0840c00391a7c67e3417a4a023d781fb50a3b7 /src/sna/sna_damage.h
parent4652a20de5fee0d5d1a8baadc4a93b6a93525564 (diff)
sna/damage: Mark the box as packed so that the embedded_box is aligned correctly
valgrind was complaining about an overlapping memcpy on a 64-bit platform as gcc padded the sna_damage_box to 28 bytes... 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.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/sna/sna_damage.h b/src/sna/sna_damage.h
index 67c44c34..8e0c73cc 100644
--- a/src/sna/sna_damage.h
+++ b/src/sna/sna_damage.h
@@ -6,8 +6,6 @@
#include "compiler.h"
-struct sna_damage_box;
-
struct sna_damage {
BoxRec extents;
pixman_region16_t region;