summaryrefslogtreecommitdiffstats
path: root/waltham-transmitter/transmitter-plugin/plugin.c
diff options
context:
space:
mode:
authorNaoko Tanibata <tnaoko@jp.adit-jv.com>2018-11-23 22:10:20 +0900
committerNaoko Tanibata <tnaoko@jp.adit-jv.com>2018-11-23 22:10:20 +0900
commitb84f9487a32e5b94c93d34a984858a93d0cefc57 (patch)
tree8db9fff7ad5e3b3360f17edb9c6bff79e2d6cb44 /waltham-transmitter/transmitter-plugin/plugin.c
parent8d837e2f33b6b2989c037c9552dd99446164a20f (diff)
transmitter: Avoid multiple module load errorguppy_6.99.2guppy_6.99.1guppy/6.99.2guppy/6.99.16.99.26.99.1
Change-Id: I6febcc9b9633364d1d3f1ef5c0edebd57665117a Signed-off-by: Naoko Tanibata <tnaoko@jp.adit-jv.com>
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);