Enlightenment CVS committal Author : raster Project : e17 Module : apps/e
Dir : e17/apps/e/src/bin Modified Files: e_spectrum.c Log Message: premul fixes from jose =================================================================== RCS file: /cvs/e/e17/apps/e/src/bin/e_spectrum.c,v retrieving revision 1.10 retrieving revision 1.11 diff -u -3 -r1.10 -r1.11 --- e_spectrum.c 30 Sep 2006 10:16:23 -0000 1.10 +++ e_spectrum.c 2 Oct 2006 13:19:20 -0000 1.11 @@ -303,9 +303,9 @@ _e_spectrum_color_calc(sp, vx, vy, vz, &r, &g, &b); data[(i * sp->iw) + j] = (sp->cv->a << 24) | - (((r << 16) * sp->cv->a) / 255) | - (((g << 8 ) * sp->cv->a) / 255) | - (((b ) * sp->cv->a) / 255); + (((r * sp->cv->a) / 255) << 16) | + (((g * sp->cv->a) / 255) << 8) | + (((b * sp->cv->a) / 255) ); } } ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs