From: Enlightenment C. <no...@cv...> - 2006-09-11 15:24:56
|
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: missed another case of identiy-transform setting =================================================================== RCS file: /cvs/e/e17/libs/evas/src/modules/engines/xrender_x11/evas_engine_xrender.c,v retrieving revision 1.15 retrieving revision 1.16 diff -u -3 -r1.15 -r1.16 --- evas_engine_xrender.c 11 Sep 2006 15:19:02 -0000 1.15 +++ evas_engine_xrender.c 11 Sep 2006 15:24:54 -0000 1.16 @@ -492,18 +492,17 @@ if ((w <= 0) || (h <= 0) || (!srs) || (!drs)) return; - init_transform(&xf); - /* FIXME: why do we need to change the identity matrix ifthe src surface * is 1 bit deep? */ if (srs->depth == 1) { + init_transform(&xf); xf.matrix[0][0] = xf.matrix[1][1] = xf.matrix[2][2] = 1; + XRenderSetPictureTransform(srs->xinf->disp, srs->pic, &xf); } - XRenderSetPictureTransform(srs->xinf->disp, srs->pic, &xf); att.clip_mask = None; XRenderChangePicture(srs->xinf->disp, srs->pic, CPClipMask, &att); XRenderChangePicture(srs->xinf->disp, drs->pic, CPClipMask, &att); |