summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorFrediano Ziglio <fziglio@redhat.com>2015-08-21 10:31:13 +0100
committerFrediano Ziglio <fziglio@redhat.com>2015-08-26 15:23:15 +0100
commit6001d8905e1f7af36b06c5ee10e187a832fb3c90 (patch)
tree915eeaa0e6291b9f40f740ce919e6db9e705b9b4 /server
parent09394e857f7184dc8e7bb518b1647843be6cc431 (diff)
downloadspice-6001d8905e1f7af36b06c5ee10e187a832fb3c90.tar.gz
spice-6001d8905e1f7af36b06c5ee10e187a832fb3c90.tar.xz
spice-6001d8905e1f7af36b06c5ee10e187a832fb3c90.zip
remove unused SAME_PIXEL macro
Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
Diffstat (limited to 'server')
-rw-r--r--server/red_bitmap_utils.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/server/red_bitmap_utils.h b/server/red_bitmap_utils.h
index 6d508a7c..1c13ced0 100644
--- a/server/red_bitmap_utils.h
+++ b/server/red_bitmap_utils.h
@@ -52,8 +52,6 @@
#define SAMPLE_JUMP 15
-#define SAME_PIXEL(p1, p2) (GET_r(p1) == GET_r(p2) && GET_g(p1) == GET_g(p2) && \
- GET_b(p1) == GET_b(p2))
static const double FNAME(PIX_PAIR_SCORE)[] = {
SAME_PIXEL_WEIGHT,
@@ -148,7 +146,6 @@ static void FNAME(compute_lines_gradual_score)(PIXEL *lines, int width, int num_
#undef PIXEL
#undef FNAME
-#undef SAME_PIXEL
#undef GET_r
#undef GET_g
#undef GET_b