diff gfxconv.c @ 487:b89598501cec

Move dmCompareColor() to libgfx.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 12 Nov 2012 17:21:33 +0200
parents f119ebe3ad25
children 49f0ce2cc347
line wrap: on
line diff
--- a/gfxconv.c	Sun Nov 11 14:36:17 2012 +0200
+++ b/gfxconv.c	Mon Nov 12 17:21:33 2012 +0200
@@ -753,16 +753,6 @@
 }
 #endif
 
-BOOL dmCompareColor(const DMColor *c1, const DMColor *c2, BOOL alpha)
-{
-    if (c1->r == c2->r &&
-        c1->g == c2->g &&
-        c1->b == c2->b)
-        return alpha ? (c1->a == c2->a) : TRUE;
-    else
-        return FALSE;
-}
-
 
 int dmRemapImageColors(DMImage *image)
 {