summaryrefslogtreecommitdiffstats
path: root/waltham-transmitter/transmitter-plugin/plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'waltham-transmitter/transmitter-plugin/plugin.c')
-rw-r--r--waltham-transmitter/transmitter-plugin/plugin.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/waltham-transmitter/transmitter-plugin/plugin.c b/waltham-transmitter/transmitter-plugin/plugin.c
index f643bd8..3a61011 100644
--- a/waltham-transmitter/transmitter-plugin/plugin.c
+++ b/waltham-transmitter/transmitter-plugin/plugin.c
@@ -924,6 +924,13 @@ wet_module_init(struct weston_compositor *compositor, int *argc, char *argv[])
goto fail;
}
+ /* Loading a waltham renderer library */
+ txr->waltham_renderer = weston_load_module("waltham-renderer.so","waltham_renderer_interface");
+ if (txr->waltham_renderer == NULL) {
+ weston_log("Failed to load waltham-renderer\n");
+ goto fail;
+ }
+
weston_log("Transmitter initialized.\n");
txr->loop = wl_display_get_event_loop(compositor->wl_display);