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:
avoid rounding errors when setting up the transformation matrix

===================================================================
RCS file: 
/cvs/e/e17/libs/evas/src/modules/engines/xrender_x11/evas_engine_xrender.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -3 -r1.18 -r1.19
--- evas_engine_xrender.c       12 Sep 2006 10:06:45 -0000      1.18
+++ evas_engine_xrender.c       12 Sep 2006 10:30:12 -0000      1.19
@@ -431,8 +431,8 @@
      }
 
    init_transform(&xf);
-   xf.matrix[0][0] = XDoubleToFixed(sw) / w;
-   xf.matrix[1][1] = XDoubleToFixed(sh) / h;
+   xf.matrix[0][0] = XDoubleToFixed((float) sw / (float) w);
+   xf.matrix[1][1] = XDoubleToFixed((float) sh / (float) h);
 
    _xr_render_surface_clips_set(drs, dc, x, y, w, h);
    if (trs)



-------------------------------------------------------------------------
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