summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2015-07-30 15:10:49 -0400
committerChris Michael <cp.michael@samsung.com>2015-07-30 15:10:49 -0400
commitfae40e995b4fd0a049f231227b2d79aa49393baf (patch)
tree1973e63363d124cee941a307c7bd4a86fee96921
parentb1bb88b8f227659c8a10adeed300937cd23e0193 (diff)
evas-wayland-shm: Pass along the wl_display parameter to the surface creation function
Signed-off-by: Chris Michael <cp.michael@samsung.com>
-rw-r--r--src/modules/evas/engines/wayland_shm/evas_outbuf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/evas/engines/wayland_shm/evas_outbuf.c b/src/modules/evas/engines/wayland_shm/evas_outbuf.c
index e1ca895318..484da13190 100644
--- a/src/modules/evas/engines/wayland_shm/evas_outbuf.c
+++ b/src/modules/evas/engines/wayland_shm/evas_outbuf.c
@@ -10,7 +10,7 @@
10#define BLUE_MASK 0x0000ff 10#define BLUE_MASK 0x0000ff
11 11
12Outbuf * 12Outbuf *
13_evas_outbuf_setup(int w, int h, int rot, Outbuf_Depth depth, Eina_Bool alpha, struct wl_shm *shm, struct wl_surface *surface) 13_evas_outbuf_setup(int w, int h, int rot, Outbuf_Depth depth, Eina_Bool alpha, struct wl_shm *shm, struct wl_surface *surface, struct wl_display *disp)
14{ 14{
15 Outbuf *ob = NULL; 15 Outbuf *ob = NULL;
16 char *num; 16 char *num;
@@ -44,7 +44,7 @@ _evas_outbuf_setup(int w, int h, int rot, Outbuf_Depth depth, Eina_Bool alpha, s
44 44
45 /* try to create the outbuf surface */ 45 /* try to create the outbuf surface */
46 if (!(ob->surface = 46 if (!(ob->surface =
47 _evas_shm_surface_create(shm, surface, w, h, ob->num_buff, alpha))) 47 _evas_shm_surface_create(disp, shm, surface, w, h, ob->num_buff, alpha)))
48 goto surf_err; 48 goto surf_err;
49 49
50 eina_array_step_set(&ob->priv.onebuf_regions, sizeof(Eina_Array), 8); 50 eina_array_step_set(&ob->priv.onebuf_regions, sizeof(Eina_Array), 8);