X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fmodules%2Fswfrender.c;h=9df996fb5cfdefb51a37ecb3e43e358691aab86f;hb=3d73649bf0e39778e715a07da902d0a858065a43;hp=37d002258c7ffc8ce6a1e210a9524de4c24f60bf;hpb=7bcaebde547799351834abe2e4fab63bfa815b50;p=swftools.git diff --git a/lib/modules/swfrender.c b/lib/modules/swfrender.c index 37d0022..9df996f 100644 --- a/lib/modules/swfrender.c +++ b/lib/modules/swfrender.c @@ -833,7 +833,7 @@ static void change_state(int y, state_t* state, renderpoint_t*p) layer_t*before=0, *self=0, *after=0; if(DEBUG&2) { - printf("[(%d,%d)/%d/%d-%d]", p->x, y, p->depth, p->shapeline->fillstyle0, p->shapeline->fillstyle1); + printf("[(%f,%d)/%d/%d-%d]", p->x, y, p->depth, p->shapeline->fillstyle0, p->shapeline->fillstyle1); } search_layer(state, p->depth, &before, &self, &after); @@ -1253,6 +1253,7 @@ void swf_RenderSWF(RENDERBUF*buf, SWF*swf) int t; RGBA color; + swf_OptimizeTagOrder(swf); swf_FoldAll(swf); character_t* idtable = (character_t*)rfx_calloc(sizeof(character_t)*65536); // id to character mapping