This is to prevent screen clears on plugins that don't
use the renderers (text plugins)
continue;
}
- if (!ply_renderer_map_to_device (renderer))
- {
- ply_trace ("could not map renderer to device for plugin %s",
- plugin_path);
- ply_renderer_close_device (renderer);
- ply_renderer_unload_plugin (renderer);
- continue;
- }
return true;
}
assert (renderer->plugin_interface != NULL);
assert (head != NULL);
+ if (!ply_renderer_map_to_device (renderer))
+ return;
+
renderer->plugin_interface->flush_head (renderer->backend, head);
}