void swf_Render_SetBackground(RENDERBUF*buf, RGBA*img, int width, int height)
{
renderbuf_internal*i = (renderbuf_internal*)buf->internal;
void swf_Render_SetBackground(RENDERBUF*buf, RGBA*img, int width, int height)
{
renderbuf_internal*i = (renderbuf_internal*)buf->internal;
for(y=0,yy=0;y<i->height2;y++,yy+=ystep) {
RGBA*src = &img[(yy>>16) * width];
RGBA*line = &i->img[y * i->width2];
for(y=0,yy=0;y<i->height2;y++,yy+=ystep) {
RGBA*src = &img[(yy>>16) * width];
RGBA*line = &i->img[y * i->width2];
character_t* idtable = rfx_calloc(sizeof(character_t)*65536); // id to character mapping
SWFPLACEOBJECT** depthtable = rfx_calloc(sizeof(SWFPLACEOBJECT*)*65536); // depth to placeobject mapping
character_t* idtable = rfx_calloc(sizeof(character_t)*65536); // id to character mapping
SWFPLACEOBJECT** depthtable = rfx_calloc(sizeof(SWFPLACEOBJECT*)*65536); // depth to placeobject mapping