Enlightenment CVS committal

Author  : tilman
Project : e17
Module  : libs/evas

Dir     : e17/libs/evas/src/modules/engines/xrender_x11


Modified Files:
        evas_engine_xrender.c 


Log Message:
um, raster, you cannot chain == like that. gcc even told you ;)

===================================================================
RCS file: 
/cvs/e/e17/libs/evas/src/modules/engines/xrender_x11/evas_engine_xrender.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -3 -r1.13 -r1.14
--- evas_engine_xrender.c       11 Sep 2006 14:42:39 -0000      1.13
+++ evas_engine_xrender.c       11 Sep 2006 14:53:19 -0000      1.14
@@ -377,7 +377,7 @@
        g = (int)(G_VAL(&dc->mul.col));
        b = (int)(B_VAL(&dc->mul.col));
        a = (int)(A_VAL(&dc->mul.col));
-       if (!(r == g == b == a == 0xff))
+       if ((r != 0xff) || (g != 0xff) || (b != 0xff) || (a != 0xff))
          {
             if ((srs->xinf->mul_r != r) || (srs->xinf->mul_g != g) ||
                 (srs->xinf->mul_b != b) || (srs->xinf->mul_a != a))
@@ -392,7 +392,7 @@
               }
             op = PictOpOver;
             mask = srs->xinf->mul->pic;
-            if ((r == g == b == 0xff) && (a != 0xff))
+            if ((r == 0xff) && (g == 0xff) && (b == 0xff) && (a != 0xff))
               {
                 att.component_alpha = 0;
                 XRenderChangePicture(srs->xinf->disp, mask, CPComponentAlpha, 
&att);



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to