FILE *in;
-// Fix path for VFS
+// Fix path for VFS. Not used anymore.
if(!strncmp(asset->path, RENDERFARM_FS_PREFIX, strlen(RENDERFARM_FS_PREFIX)))
sprintf(string, "%s%s", RENDERFARM_FS_PREFIX, path);
else
data->allocate_compressed_data(ostat.st_size);
data->set_compressed_size(ostat.st_size);
(void)fread(data->get_data(), ostat.st_size, 1, fd);
- temp = new VFrame(0,
- -1,
- asset->width,
- asset->height,
- frame->get_color_model(),
- -1);
+ temp = new VFrame(asset->width, asset->height,
+ frame->get_color_model(), 0);
read_frame(temp, data);
break;
}
}
else
{
- temp = new VFrame(0,
- -1,
- asset->width,
- asset->height,
- frame->get_color_model(),
- -1);
+ temp = new VFrame(asset->width, asset->height, frame->get_color_model(), 0);
read_frame(temp, asset->path);
}
}