[PATCH weston 3/5] window: remove unused MULT macro

Pekka Paalanen ppaalanen at gmail.com
Mon Nov 19 05:32:49 PST 2012


Leftovers from

commit f02a649a3ce5735f5a20103fe6f1002b3a421501
Author: Kristian Høgsberg <krh at bitplanet.net>
Date:   Mon Mar 12 01:05:25 2012 -0400

    Consolidate image loading code and move to shared/

Signed-off-by: Pekka Paalanen <ppaalanen at gmail.com>
---
 clients/window.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/clients/window.c b/clients/window.c
index d82640a..16dc801 100644
--- a/clients/window.c
+++ b/clients/window.c
@@ -351,9 +351,6 @@ struct surface_data {
 	struct wl_buffer *buffer;
 };
 
-#define MULT(_d,c,a,t) \
-	do { t = c * a + 0x7f; _d = ((t >> 8) + t) >> 8; } while (0)
-
 #ifdef HAVE_CAIRO_EGL
 
 struct egl_window_surface_data {
-- 
1.7.8.6



More information about the wayland-devel mailing list