git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0389433
)
fixed matrix multiplication order for bitmaps
author
kramm
<kramm>
Mon, 16 Jan 2006 17:01:59 +0000
(17:01 +0000)
committer
kramm
<kramm>
Mon, 16 Jan 2006 17:01:59 +0000
(17:01 +0000)
lib/modules/swfrender.c
patch
|
blob
|
history
diff --git
a/lib/modules/swfrender.c
b/lib/modules/swfrender.c
index
b090cdd
..
8be9cef
100644
(file)
--- a/
lib/modules/swfrender.c
+++ b/
lib/modules/swfrender.c
@@
-433,7
+433,7
@@
void swf_RenderShape(RENDERBUF*dest, SHAPE2*shape, MATRIX*m, CXFORM*c, U16 _dept
important for texture and gradient fill */
for(t=0;t<s2->numfillstyles;t++) {
MATRIX nm;
important for texture and gradient fill */
for(t=0;t<s2->numfillstyles;t++) {
MATRIX nm;
- swf_MatrixJoin(&nm, &s2->fillstyles[t].m, &mat); //TODO: is this the right order?
+ swf_MatrixJoin(&nm, &mat, &s2->fillstyles[t].m);
/*nm.sx *= i->multiply;
nm.sy *= i->multiply;
nm.r0 *= i->multiply;
/*nm.sx *= i->multiply;
nm.sy *= i->multiply;
nm.r0 *= i->multiply;
@@
-1127,7
+1127,7
@@
void swf_RenderSWF(RENDERBUF*buf, SWF*swf)
swf_GetPlaceObject(tag, &p);
/* TODO: add move and deletion */
placements[numplacements++] = p;
swf_GetPlaceObject(tag, &p);
/* TODO: add move and deletion */
placements[numplacements++] = p;
- swf_PlaceObjectFree(&p); //dirty! but it only removes items we don't need
+ swf_PlaceObjectFree(&p); //dirty! but it only frees fields we don't use
}
tag = tag->next;
}
}
tag = tag->next;
}