X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fmodules%2Fswfrender.c;h=77756811cff0c76498cf97f87d35d755f527a930;hb=60a5f860ff33fd8372e297818edda3992bfe3f9e;hp=ad372cc25ef15fef13d5552c1b2c7d5cef44d67e;hpb=e4cccdb2c2f7958958643c0f2cb912223ad65f4d;p=swftools.git diff --git a/lib/modules/swfrender.c b/lib/modules/swfrender.c index ad372cc..7775681 100644 --- a/lib/modules/swfrender.c +++ b/lib/modules/swfrender.c @@ -410,14 +410,14 @@ void swf_RenderShape(RENDERBUF*dest, SHAPE2*shape, MATRIX*m, CXFORM*c, U16 _dept important for texture and gradient fill */ for(t=0;tnumfillstyles;t++) { MATRIX nm; - swf_MatrixJoin(&nm, &s2->fillstyles[t].m, m); //TODO: is this the right order? + swf_MatrixJoin(&nm, &s2->fillstyles[t].m, &mat); //TODO: is this the right order? nm.sx *= i->multiply; nm.sy *= i->multiply; nm.r0 *= i->multiply; nm.r1 *= i->multiply; nm.tx *= i->multiply; nm.ty *= i->multiply; - s2->fillstyles[t].m = nm; + s2->fillstyles[t].m = nm; //!!!!!!!!!!!!!!!! } /* add this shape to the global shape list, for deallocing */