use double precision for the greater good of humanity

SVN revision: 25766
This commit is contained in:
tilman 2006-09-12 10:33:28 +00:00 committed by tilman
parent ce599dcde7
commit 60c2e94a4c
1 changed files with 2 additions and 2 deletions

View File

@ -431,8 +431,8 @@ _xr_render_surface_composite(Xrender_Surface *srs, Xrender_Surface *drs, RGBA_Dr
}
init_transform(&xf);
xf.matrix[0][0] = XDoubleToFixed((float) sw / (float) w);
xf.matrix[1][1] = XDoubleToFixed((float) sh / (float) h);
xf.matrix[0][0] = XDoubleToFixed((double) sw / (double) w);
xf.matrix[1][1] = XDoubleToFixed((double) sh / (double) h);
_xr_render_surface_clips_set(drs, dc, x, y, w, h);
if (trs)