Enlightenment CVS committal Author : raster Project : e17 Module : libs/imlib2
Dir : e17/libs/imlib2/src/lib Modified Files: colormod.c Log Message: dont modify alpha if img has no alpha =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/imlib2/src/lib/colormod.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- colormod.c 1 Nov 2004 09:45:30 -0000 1.1 +++ colormod.c 28 Jul 2005 03:25:32 -0000 1.2 @@ -92,13 +92,10 @@ R_VAL(p) = R_CMOD(cm, R_VAL(p)); G_VAL(p) = G_CMOD(cm, G_VAL(p)); B_VAL(p) = B_CMOD(cm, B_VAL(p)); - A_VAL(p) = A_CMOD(cm, 255); p++; } p += jump; } - if (A_CMOD(cm, 255) != 255) - *fl |= F_HAS_ALPHA; return; } ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs