gvc->layout.type = typeptr->type;
gvc->layout.engine = typeptr->engine;
gvc->layout.id = typeptr->id;
- gvc->layout.features = (gvlayout_features_t *) (typeptr->features);
+ gvc->layout.features = typeptr->features;
return GVRENDER_PLUGIN; /* FIXME - need better return code */
}
return NO_SUPPORT;
if (plugin) {
typeptr = plugin->typeptr;
job->device.engine = typeptr->engine;
- job->device.features = (gvdevice_features_t *) (typeptr->features);
+ job->device.features = typeptr->features;
job->device.id = typeptr->id;
job->device.type = plugin->typestr;
if (plugin) {
typeptr = plugin->typeptr;
job->render.engine = typeptr->engine;
- job->render.features = (gvrender_features_t *) (typeptr->features);
+ job->render.features = typeptr->features;
job->render.type = plugin->typestr;
job->flags |= job->render.features->flags;